/* ==========================================================================
   Gözlükçü — site stilleri
   Kemik beyazı zemin, sıcak antrasit yazı, tek vurgu: bordo.
   Renkleri değiştirmek için yalnızca :root içindeki değişkenleri düzenleyin.
   ========================================================================== */

:root {
  --bg: #f3efe9;
  --bg-2: #ebe5dc;
  --surface: #fbf9f6;
  --card: #e8e1d7;
  --ink: #1f1a17;
  --ink-2: #4a423c;
  --muted: #80766d;
  --line: #dcd3c7;

  --accent: #6b1e2b;
  --accent-hover: #812a3b;
  --accent-soft: #efe1de;
  --accent-ink: #fbf3f1;

  --dark: #1a1614;
  --dark-2: #251f1c;
  --dark-line: rgba(251, 243, 241, .1);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(60, 32, 24, .05), 0 12px 32px -8px rgba(60, 32, 24, .14);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* İnce film greni: düz dijital yüzeyi kırar */
body:not(.tryon-page)::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }

svg { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

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

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; color: var(--accent);
}

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; font-optical-sizing: auto; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.04; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }

/* --------------------------------------------------------------- butonlar */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px -10px rgba(107, 30, 43, .7);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 26px -10px rgba(107, 30, 43, .75); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--accent-ink); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-quiet { background: transparent; color: var(--muted); height: 42px; }
.btn-quiet:hover { color: var(--accent); transform: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link svg { transition: transform .25s var(--ease); }
.link:hover { color: var(--accent); }
.link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- başlık */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 239, 233, .82);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid rgba(220, 211, 199, .7);
}
.header-in { display: flex; align-items: center; gap: 32px; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 20px; stroke-width: 2; color: var(--accent); }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--serif); font-weight: 500; font-size: 25px; letter-spacing: .06em; }
.logo small { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); margin-top: 2px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; align-items: center; justify-content: center; border-radius: 12px; }
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .header-in { gap: 12px; height: 64px; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 420px) {
  .header-cta span { display: none; }
  .header-cta { width: 42px; padding: 0; }
  .logo-mark { display: none; }
}

/* --------------------------------------------------------------- hero */

.hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 4vw, 48px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 900px; height: 900px; right: -260px; top: -360px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(107, 30, 43, .1), transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(48px, 6.6vw, 92px); line-height: .96; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 34px 0 44px; }
.hero-facts { list-style: none; display: flex; gap: clamp(20px, 4vw, 48px); padding: 22px 0 0; margin: 0; border-top: 1px solid var(--line); max-width: 520px; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
.hero-facts span { font-size: 13px; color: var(--muted); }

.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(107, 30, 43, .45); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(107, 30, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(107, 30, 43, 0); } }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 500px; }
/* Kemer çerçevenin arkasındaki ince çizgi: katman derinliği */
.hero-visual::before {
  content: ''; position: absolute; inset: -16px 16px 16px -16px; pointer-events: none;
  border: 1px solid var(--line); border-radius: 999px 999px 34px 34px;
}
.hero-arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 32px 32px;
  background:
    radial-gradient(70% 45% at 50% 42%, #fffdfa 0%, rgba(255, 253, 250, 0) 100%),
    linear-gradient(180deg, #efe8de 0%, #e4d9cc 100%);
  box-shadow: inset 0 -40px 80px -40px rgba(107, 30, 43, .18);
}
.hero-3d { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); cursor: grab; touch-action: pan-y; }
.hero-3d.is-ready { opacity: 1; }
.hero-3d:active { cursor: grabbing; }
.hero-3d canvas, .pdp-3d canvas { width: 100%; height: 100%; display: block; }
.hero-drag {
  position: absolute; top: 18%; left: 0; right: 0; text-align: center; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted);
}
.hero-tag {
  position: absolute; left: -28px; bottom: 36px; z-index: 1;
  display: flex; flex-direction: column; gap: 2px; min-width: 220px;
  padding: 14px 18px 14px 20px; border-radius: 16px;
  background: rgba(251, 249, 246, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .6);
  font-size: 14px; font-weight: 500; transition: transform .3s var(--ease);
}
.hero-tag:hover { transform: translateY(-2px); }
.hero-tag b { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--accent); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; margin-top: 12px; }
  .hero-arch { aspect-ratio: 5 / 5.4; }
  .hero-tag { left: 12px; bottom: 16px; }
}

/* --------------------------------------------------------------- bölümler */

.section { padding-top: clamp(64px, 9vw, 120px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 46px); }

/* --------------------------------------------------------------- ürün kartları */

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(80% 60% at 50% 45%, #f1ebe2, var(--card));
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .35s var(--ease);
}
.card-media img { width: 90%; height: auto; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card-media { box-shadow: inset 0 0 0 1px rgba(107, 30, 43, .18); }
.card:hover .card-media img { transform: scale(1.06) translateY(-2%); }
.is-generated { opacity: 0; transition: opacity .4s; }
.is-generated.is-ready { opacity: 1; }
.card-media:has(.is-generated:not(.is-ready))::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%) -100% 0 / 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: 100% 0; } }

.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 8px 3px; border-radius: 4px; background: var(--accent); color: var(--accent-ink);
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.card-meta span:first-child { font-weight: 600; color: var(--ink-2); }
.card-meta span:last-child { font-family: var(--serif); font-style: italic; }
.card h3 { font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -.005em; }
.card h3 a { transition: color .2s; }
.card h3 a:hover { color: var(--accent); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.try-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.try-chip:hover { background: var(--accent); color: var(--accent-ink); }
.try-chip:active { transform: scale(.96); }
@media (max-width: 480px) {
  .card-meta span:last-child { display: none; }
  .try-chip { width: 34px; padding: 0; justify-content: center; }
  .try-chip span { display: none; }
  .card h3 { font-size: 15px; }
  .price { font-size: 15px; }
}

/* --------------------------------------------------------------- nasıl çalışır */

.how {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--bg-2);
}
.how-head h2 { margin-bottom: 18px; }
.how-head .lead { font-size: 17px; margin-bottom: 28px; }
.how-list { list-style: none; margin: 0; padding: 0; }
.how-list li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.how-list li:last-child { border-bottom: 1px solid var(--line); }
.how-n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.how-list h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.01em; }
.how-list p { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how-list li { grid-template-columns: 56px 1fr; }
  .how-n { font-size: 32px; }
}

/* --------------------------------------------------------------- kategoriler, hizmetler, ziyaret */

.cats { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: 30px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #ece5db, #e2d8cb);
}
.cat-alt { background: linear-gradient(180deg, #f1e4e1, #e6d2ce); }
.cat-media { position: absolute; inset: 10% 6% 26%; display: flex; align-items: center; justify-content: center; }
.cat-media img { width: 88%; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.cat:hover .cat-media img { transform: scale(1.06) rotate(-2deg); }
.cat-copy { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cat h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.02em; }
.cat p { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; } .cat { min-height: 300px; } }

.services { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); border-top: 1px solid var(--ink); }
.services-head { padding: 30px 32px 30px 0; }
.services-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.service { padding: 30px 24px; border-left: 1px solid var(--line); transition: background-color .3s; }
.service:hover { background: var(--bg-2); }
.service h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.01em; }
.service p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services-head { grid-column: 1 / -1; padding-right: 0; }
  .service { border-left: 0; border-top: 1px solid var(--line); padding: 24px 20px 24px 0; }
  .service:hover { background: none; }
}

.visit {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg);
  background: radial-gradient(90% 120% at 0% 0%, #84303f 0%, var(--accent) 55%, #571622 100%);
  color: var(--accent-ink);
}
.visit .eyebrow { color: #e9c3bd; }
.visit h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 16px; }
.visit .lead { color: #efd8d4; }
.visit-info {
  display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.visit-info p { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.visit-info svg { margin-top: 3px; color: #e9c3bd; }
.visit-info a { text-decoration: underline; text-decoration-color: rgba(251, 243, 241, .35); text-underline-offset: 4px; }
.visit-info a:hover { text-decoration-color: currentColor; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- alt bilgi */

.site-footer { margin-top: clamp(72px, 10vw, 128px); background: var(--bg-2); border-top: 1px solid var(--line); padding: 60px 0 28px; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 40ch; }
.footer-col h4 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; color: var(--accent); margin-bottom: 16px; }
.footer-col p { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin-bottom: 11px; color: var(--ink-2); }
.footer-col svg { margin-top: 3px; color: var(--muted); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- katalog */

.catalog { padding-top: clamp(32px, 4vw, 56px); }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.catalog-head h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: .98; letter-spacing: -.03em; margin-bottom: 8px; }
.catalog-head .muted { font-family: var(--serif); font-style: italic; font-size: 18px; }
.try-banner {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 18px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 12px 28px -14px rgba(107, 30, 43, .8);
  transition: background-color .25s, transform .25s var(--ease);
}
.try-banner:hover { background: var(--accent-hover); transform: translateY(-2px); }
.try-banner > svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.try-banner span { display: flex; flex-direction: column; line-height: 1.3; }
.try-banner b { font-size: 15px; font-weight: 600; }
.try-banner small { font-size: 13px; color: #e9c3bd; }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px 0; margin-bottom: 32px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); margin-right: auto; }
.tabs button {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
  background: none; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button span { font-size: 12px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.tabs button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 3px rgba(60, 32, 24, .12); }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input, .filters select {
  height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input { width: 240px; padding: 0 16px 0 40px; }
.search input::placeholder { color: var(--muted); }
.filters select {
  padding: 0 38px 0 16px; 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='%2380766d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.search input:focus, .filters select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 900px) {
  .catalog-head { flex-direction: column; align-items: stretch; }
  .tabs { margin-right: 0; width: 100%; }
  .tabs button { flex: 1; justify-content: center; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .filters select { flex: 1 1 140px; min-width: 0; }
}

.empty { grid-column: 1 / -1; padding: 72px 0; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty p { font-family: var(--serif); font-style: italic; font-size: 20px; }
.empty-page { padding: 120px var(--gutter); }
.empty-page h1 { font-size: 48px; color: var(--ink); }

/* --------------------------------------------------------------- ürün sayfası */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0; font-size: 13.5px; color: var(--muted); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: sticky; top: 98px; }
.pdp-stage {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(75% 60% at 50% 45%, #f4eee6, var(--card));
}
.pdp-photo, .pdp-3d { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pdp-photo img { width: 86%; mix-blend-mode: multiply; }
.pdp-3d { cursor: grab; color: var(--muted); font-size: 14px; }
.pdp-stage .badge { top: 20px; left: 20px; }
.seg {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(251, 249, 246, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.seg button {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px; border: 0; border-radius: 999px;
  background: none; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.pdp-hint { position: absolute; top: 18px; right: 22px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); pointer-events: none; }

.pdp-info { padding-top: 6px; }
.pdp-info .eyebrow { margin-bottom: 6px; }
.pdp-info h1 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -.03em; }
.pdp-color { margin-top: 12px; color: var(--muted); }
.pdp-price { font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.02em; margin: 22px 0 26px; font-variant-numeric: tabular-nums; }
.pdp-note { font-size: 14px; color: var(--muted); margin: 12px 4px 18px; }
.specs { margin: 34px 0 0; border-top: 1px solid var(--ink); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.perks li { display: flex; gap: 12px; }
.perks li::before { content: ''; flex: none; width: 14px; height: 1px; margin-top: 11px; background: var(--accent); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
}

/* ==========================================================================
   Sanal deneme (AR) sayfası
   ========================================================================== */

.tryon-page { background: var(--dark); color: #f3ece6; overflow: hidden; }
.tryon { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }

.t-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 12px; padding-top: env(safe-area-inset-top);
  box-sizing: content-box; flex: none;
}
.t-title { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; }
.t-icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: rgba(251, 243, 241, .08); color: inherit;
  transition: background-color .2s, opacity .2s, transform .2s var(--ease);
}
.t-icon:hover { background: rgba(251, 243, 241, .16); }
.t-icon:active { transform: scale(.94); }
.t-icon:disabled { opacity: .3; cursor: default; }
.t-icon:not(:disabled)#t-shot { background: var(--accent); }
.t-icon:not(:disabled)#t-shot:hover { background: var(--accent-hover); }
.t-icon svg { width: 22px; height: 22px; }

.t-stage {
  position: relative; flex: 1; min-height: 0; margin: 0 12px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 40%, #2e2522, #171311);
}
.t-stage video, .t-stage canvas, .t-stage #t-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.t-stage.is-photo canvas, .t-stage.is-photo #t-photo { object-fit: contain; }
.t-stage.is-mirror video, .t-stage.is-mirror canvas { transform: scaleX(-1); }
.t-stage:not(.is-live) canvas { visibility: hidden; }

.t-modes {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(26, 22, 20, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.t-modes button { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: #d6ccc4; font-size: 13.5px; font-weight: 600; }
.t-modes button[aria-pressed="true"] { background: var(--accent-ink); color: var(--dark); }

.t-hint, .t-status {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2;
  max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px;
  background: rgba(26, 22, 20, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; text-align: center;
}
.t-status { top: 50%; bottom: auto; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; z-index: 4; white-space: nowrap; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.t-intro {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  padding: 16px; overflow-y: auto;
}
.t-intro-card {
  width: 100%; max-width: 420px; padding: 24px; border-radius: 26px; text-align: center;
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}
.t-intro-media {
  aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(75% 60% at 50% 45%, #f4eee6, var(--card));
}
.t-intro-media img { width: 86%; mix-blend-mode: multiply; }
.t-intro-name { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--accent); }
.t-intro h1 { font-size: 36px; letter-spacing: -.025em; margin: 4px 0 10px; }
.t-intro-card > p:not(.t-intro-name) { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.t-intro .btn-quiet { margin-top: 6px; }
.t-error { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 14px; text-align: left; }
.t-intro-card .t-privacy { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

.t-dock { flex: none; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.t-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 12px; }
.t-brand { font-family: var(--serif); font-style: italic; font-size: 15px; color: #c9a9a2; }
.t-name { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.t-info-end { display: flex; align-items: center; gap: 14px; }
.t-price { font-family: var(--serif); font-size: 22px; font-variant-numeric: tabular-nums; }
.t-filter { display: flex; gap: 6px; margin-bottom: 10px; }
.t-filter button {
  height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dark-line);
  background: none; color: #d6ccc4; font-size: 13px; font-weight: 600; transition: background-color .2s, color .2s;
}
.t-filter button:hover { border-color: rgba(251, 243, 241, .3); }
.t-filter button[aria-pressed="true"] { background: var(--accent-ink); color: var(--dark); border-color: var(--accent-ink); }
.t-rail {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px;
  scrollbar-width: none;
}
.t-rail::-webkit-scrollbar { display: none; }
.t-item {
  flex: none; width: 112px; padding: 8px 8px 10px; border-radius: 16px; border: 2px solid transparent;
  background: var(--dark-2); color: #d6ccc4; scroll-snap-align: center; text-align: center;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.t-item img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; border-radius: 10px; background: #efe8de; padding: 2px; }
.t-item span { display: block; margin-top: 7px; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-item:hover { background: #2f2723; }
.t-item:active { transform: scale(.97); }
.t-item[aria-pressed="true"] { border-color: #c75a6b; background: #2f2023; color: #fff; }
.t-item img.is-generated { background: #efe8de; }

.t-modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 11, 10, .75);
}
.t-modal-card { width: 100%; max-width: 720px; padding: 14px; border-radius: 22px; background: var(--surface); color: var(--ink); }
.t-modal-card img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 14px; background: #000; }
.t-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }

@media (min-width: 900px) {
  .tryon { display: grid; grid-template-columns: 1fr 380px; grid-template-rows: auto 1fr; }
  .t-top { grid-column: 1 / -1; padding: 0 20px; }
  .t-stage { margin: 0 0 20px 20px; }
  .t-dock { display: flex; flex-direction: column; min-height: 0; padding: 0 20px 20px; }
  .t-product { flex-direction: column; align-items: stretch; padding: 4px 0 18px; border-bottom: 1px solid var(--dark-line); margin-bottom: 16px; }
  .t-info-end { justify-content: space-between; margin-top: 10px; }
  .t-name { font-size: 22px; }
  .t-rail {
    flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; align-content: start;
    overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3d332f transparent;
  }
  .t-item { width: auto; }
}

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