/* ============================================================
   LuxWorld — Ana Stil
   Font: Playfair Display (serif, 400/700) + Inter (sans, 400/500/600)
   ============================================================ */

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

/* ── Tasarım değişkenleri ── */
:root {
  --bg:       #08080a;
  --surface:  #0f0f12;
  --surface2: #17171c;
  --border:   rgba(255, 255, 255, 0.07);
  --border2:  rgba(255, 255, 255, 0.13);
  --text:     #f2ede4;
  --text-soft:#bab5ac;
  --muted:    #807b72;
  --gold:     #c8a84b;
  --gold-dim: rgba(200, 168, 75, 0.18);
  --gold-line:rgba(200, 168, 75, 0.35);

  --serif: "Playfair Display", "Didot", "Bodoni MT", "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Temel ── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Sayfa fade-in — JS .js-ready ekleyince tetiklenir */
html:not(.js-ready) body { opacity: 0; }
html.js-ready body { animation: page-in .4s ease both; }

@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Kartları sıralı gecikmeyle göster */
.products-grid .reveal:nth-child(2)  { transition-delay: .08s; }
.products-grid .reveal:nth-child(3)  { transition-delay: .16s; }
.products-grid .reveal:nth-child(4)  { transition-delay: .24s; }
.products-grid .reveal:nth-child(5)  { transition-delay: .1s; }
.products-grid .reveal:nth-child(6)  { transition-delay: .18s; }
.products-grid .reveal:nth-child(7)  { transition-delay: .26s; }
.products-grid .reveal:nth-child(8)  { transition-delay: .12s; }

/* Sayfanın her yerine hafif altın ışık hâlesi */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(200,168,75,.1) 0%, transparent 70%);
  z-index: 0;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: #e0c068; text-decoration: none; }

img { display: block; max-width: 100%; }

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 8, 10, .78);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, .96);
  box-shadow: 0 4px 40px rgba(0,0,0,.4);
}

.header-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

/* Header arama */
.header-search {
  display: flex;
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--border2);
  background: rgba(15,15,18,.6);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 20%, transparent);
}

.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: .78rem;
  padding: .5rem .85rem;
  outline: none;
}
.header-search input::placeholder {
  color: var(--muted);
}

.header-search-btn {
  flex-shrink: 0;
  border: none;
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.header-search-btn:hover {
  background: var(--gold);
  color: #08080a;
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: .32rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border2);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .38rem .65rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}

.lang-switcher-btn:hover {
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

.lang-globe {
  flex-shrink: 0;
  opacity: .7;
}

.lang-chevron {
  flex-shrink: 0;
  opacity: .6;
  transition: transform .2s ease;
}

.lang-switcher-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-switcher-btn[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  color: var(--text);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 300;
  list-style: none;
  margin: 0;
  padding: .35rem 0;
  background: #141418;
  border: 1px solid var(--border2);
  min-width: 148px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .3);
}

.lang-dropdown.is-open {
  display: block;
  animation: lang-dd-in .15s ease both;
}

.lang-switcher.is-open .lang-dropdown {
  display: block;
  animation: lang-dd-in .15s ease both;
}

/* JS calismasa bile buton focus oldugunda acilsin */
.lang-switcher:focus-within .lang-dropdown {
  display: block;
}

@keyframes lang-dd-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.lang-opt:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  text-decoration: none;
}

.lang-opt.is-active {
  color: var(--gold);
}

.lang-opt-code {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  min-width: 1.8rem;
  flex-shrink: 0;
}

.lang-opt.is-active .lang-opt-code {
  color: var(--gold);
}

.logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.logo:hover { color: var(--gold); }

/* altın nokta aksanı */
.logo::after {
  content: "·";
  color: var(--gold);
  margin-left: 0.12em;
}

.main-nav {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.main-nav a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}

.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

/* Mobil hamburger */
.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border2);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background: var(--text);
  transition: transform .2s;
}
.nav-toggle::before { top: 0.78rem; }
.nav-toggle::after  { bottom: 0.78rem; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .header-inner {
    padding: .65rem 1rem;
  }

  .header-search {
    order: 5;
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }

  .lang-switcher {
    order: 4;
    margin-left: auto;
  }

  .lang-dropdown {
    right: 0;
    left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8,8,10,.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem 1.5rem;
  }

  .main-nav a {
    padding: .65rem 0;
    font-size: .72rem;
  }

  .main-nav.is-open { display: flex; }
}

/* ── Hero / Slider ── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-viewport { overflow: hidden; }

.hero-track {
  display: flex;
  will-change: transform;
  transition: transform .7s cubic-bezier(.76,0,.24,1);
}

.hero-slide {
  flex: 0 0 100%;
  min-height: clamp(480px, 88vh, 820px);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
}

/* üst ince degradé + alt güçlü gölge */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,10,.35) 0%,
    transparent 35%,
    transparent 50%,
    rgba(8,8,10,.85) 100%
  );
  pointer-events: none;
}

.hero-slide-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

/* ince altın çizgi süsü */
.hero-slide-inner::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  opacity: .7;
}

.hero-slide h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .75rem;
  color: #fff;
}

.hero-slide p {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 400;
  color: rgba(242,237,228,.65);
  letter-spacing: .06em;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  text-transform: uppercase;
}

.hero-cta {
  display: inline-block;
  padding: .75rem 2rem;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
}

.hero-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  text-decoration: none;
}

/* kontroller */
.hero-controls {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}

.hero-prev,
.hero-next {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(8,8,10,.6);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color .2s, color .2s;
}
.hero-prev:hover,
.hero-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-dots { display: flex; gap: .5rem; align-items: center; }

.hero-dot {
  width: 28px;
  height: 1px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-dot.is-active {
  background: var(--gold);
  transform: scaleX(1.4);
  transform-origin: left;
}

/* ── Ticker şeridi ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--gold);
  padding: .42rem 0;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #0a0a0b;
  padding: 0 .85rem;
}

.ticker-dot {
  opacity: .45;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Ürün listesi bölümü ── */
.products-section {
  position: relative;
  z-index: 1;
}

/* Kategori + arama çubuğu */
.shop-toolbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.cat-chip {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: .45rem .95rem;
  border: 1px solid var(--border2);
  background: rgba(15,15,18,.4);
  transition: border-color .2s, color .2s, background .2s;
}
.cat-chip:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
}
.cat-chip.is-active {
  color: #08080a;
  background: var(--gold);
  border-color: var(--gold);
}

.shop-search {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border2);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15,15,18,.55);
  min-width: min(100%, 260px);
}
.shop-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: .8rem;
  padding: .55rem 1rem;
  outline: none;
}
.shop-search-submit {
  border: none;
  background: color-mix(in srgb, var(--gold) 25%, transparent);
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 1.15rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.shop-search-submit:hover {
  background: var(--gold);
  color: #08080a;
}

@media (max-width: 720px) {
  .shop-toolbar {
    padding: 0 1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }
  .cat-chips { justify-content: center; }
  .shop-search { min-width: 0; }
}

.section-head {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
  text-align: center;
}

/* başlık üstü küçük süs — içerik PHP tarafından oluşturulur */
.section-label-deco {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .75rem;
  color: var(--text);
}

.section-head p {
  font-size: .9rem;
  color: var(--muted);
  letter-spacing: .04em;
  line-height: 1.7;
  max-width: 34rem;
  margin: 0 auto;
}

/* ── Ürün grid ── */
.products-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: none;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .875rem;
    padding: 1.25rem 1rem 3.5rem;
  }
}

/* ── Ürün kartı ── */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .35s;
  pointer-events: none;
  z-index: 5;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

.product-card:hover::before {
  border-color: var(--gold-line);
}

.product-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ── Kart görseli ── */
.product-card-image {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1086 / 1448;
  background: var(--surface2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Görsel zoom */
.product-card-image {
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .product-card-image {
  transform: scale(1.05);
}

/* Hover karanlık örtü */
.product-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,10,.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover .product-card-image::after {
  opacity: 1;
}

/* "Yeni" rozeti */
.card-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  font-family: var(--sans);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #08090a;
  background: var(--gold);
  padding: .28rem .65rem;
  z-index: 3;
  pointer-events: none;
}

/* "Detayı Gör" hover butonu */
.card-overlay-btn {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8,8,10,.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  padding: .5rem 1.3rem;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
  z-index: 4;
}
.product-card:hover .card-overlay-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Görsel yoksa placeholder */
.product-card-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-image.no-image::before {
  content: "✦";
  font-size: 2rem;
  color: var(--border2);
  opacity: .35;
  pointer-events: none;
  z-index: 2;
  position: relative;
}

/* ── Kart body (sabit yükseklik için flex) ── */
.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem 1rem;
  border-top: 1px solid var(--border);
}

/* Metin alanı — esner ve kartları eşit hizalar */
.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: .85rem;
}

.card-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}

.card-brand {
  font-size: .72rem;
  color: var(--text-soft);
  letter-spacing: .04em;
  margin: 0 0 .35rem;
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 .45rem;
  /* 2 satırla sınırla */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .excerpt {
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: .01em;
  margin: 0;
  flex: 1;
  /* 2 satırla sınırla */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.product-card .excerpt--empty {
  min-height: 2.4em;
  display: block;
}

/* ── Kart footer (fiyat + sipariş) ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}

.product-card .price {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

.card-wa-hint {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.card-wa-hint svg {
  color: #25d366;
  flex-shrink: 0;
}
.product-card:hover .card-wa-hint {
  color: var(--text-soft);
}

/* ── Mobile kart küçük rötuşları ── */
@media (max-width: 720px) {
  .product-card-body { padding: .85rem .9rem .8rem; }
  .product-card h3 { font-size: .92rem; }
  .card-badge { top: .6rem; left: .6rem; font-size: .5rem; padding: .22rem .5rem; }
  .card-footer { padding-top: .65rem; }
  .card-wa-hint { display: none; }
  .product-card .price { font-size: .7rem; }
}

/* ── Ürün detay ── */
.product-detail-wrap {
  position: relative;
  z-index: 1;
}

.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
}

.product-detail-image {
  aspect-ratio: 1086 / 1448;
  background: var(--surface2);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border2);
  position: relative;
}

/* Görsel yoksa placeholder */
.product-detail-image:not([style*="background-image"]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-image:not([style*="background-image"])::after {
  content: "✦";
  font-size: 2.5rem;
  color: var(--border2);
  opacity: .4;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
  transition: color .2s;
}
.back-link::before { content: "←"; font-size: .8rem; letter-spacing: 0; }
.back-link:hover { color: var(--text); }

.detail-cat {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .5rem;
}

.detail-brand {
  font-size: .95rem;
  color: var(--text-soft);
  letter-spacing: .06em;
  margin: -.35rem 0 .75rem;
}

.product-detail-text h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--text);
}

/* ince altın ayırıcı */
.product-detail-text h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-top: 1rem;
  opacity: .6;
}

.product-detail-text .price {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.25rem 0;
}

.product-detail-text .desc {
  font-size: .96rem;
  color: var(--text-soft);
  line-height: 1.8;
  letter-spacing: .015em;
  margin-bottom: 1.75rem;
}

.product-detail-text .features-title {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: .75rem;
}

.product-detail-text ul.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
}

.product-detail-text ul.features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.7;
  letter-spacing: .015em;
}

.product-detail-text ul.features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .7rem;
  top: .25em;
}

/* WhatsApp butonu */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 2rem;
  background: #1a1a1a;
  border: 1px solid rgba(37,211,102,.35);
  color: #25d366 !important;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, border-color .25s;
}

.btn-wa svg {
  flex-shrink: 0;
}

.btn-wa:hover {
  background: rgba(37,211,102,.1);
  border-color: #25d366;
  text-decoration: none;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 4rem 2rem 2.5rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-block;
  margin-bottom: .75rem;
}

.footer-brand .footer-logo::after {
  content: "·";
  color: var(--gold);
  margin-left: .08em;
}

.footer-brand p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 22rem;
}

.footer-col-title {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-links a {
  font-size: .83rem;
  color: var(--muted);
  transition: color .2s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .83rem;
  color: #25d366;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s;
}
.footer-wa-link:hover { opacity: .8; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .04em;
}

.footer-bottom p { margin: .25rem 0; }

/* Eski basit footer için de destek */
.footer-copy {
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
  margin: 0;
}

/* ── Floating WhatsApp butonu ── */
.float-wa {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,.35), 0 2px 8px rgba(0,0,0,.4);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,.5), 0 4px 12px rgba(0,0,0,.4);
  text-decoration: none;
}
/* Nabız animasyonu */
.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.5);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ── Mobil sticky satın al barı (ürün detay) ── */
.sticky-buy-bar {
  display: none;
}

@media (max-width: 640px) {
  .sticky-buy-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(10,10,12,.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border2);
    padding: .75rem 1rem;
    animation: slide-up-bar .35s ease both;
  }

  @keyframes slide-up-bar {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }

  .sticky-buy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }

  .sticky-buy-info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
    flex: 1;
  }

  .sticky-buy-name {
    font-family: var(--serif);
    font-size: .9rem;
    font-weight: 400;
    color: var(--text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .sticky-buy-price {
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .sticky-buy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.1rem;
    background: #25d366;
    color: #fff !important;
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* Sticky bar varken floating WA biraz yukarı kayar */
  .float-wa { bottom: 5.5rem; }

  /* Detay sayfasında sayfa altına padding ekle ki sticky bar içerik kapatmasın */
  .product-detail-wrap { padding-bottom: 5rem; }
}

/* ── Footer ── */
.not-found {
  max-width: 560px;
  margin: 6rem auto;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.not-found h1 {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
}

html[dir="rtl"] .header-inner {
  direction: rtl;
}

html[dir="rtl"] .main-nav a::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .back-link::before {
  content: "→";
}

html[dir="rtl"] .product-detail-text ul.features li {
  padding-left: 0;
  padding-right: 1.1rem;
}

html[dir="rtl"] .product-detail-text ul.features li::before {
  left: auto;
  right: 0;
}
