/* ==========================================================================
   VV TABLO — Eser detay sayfası
   Site kabuğuyla (başlık/altbilgi/tipografi) aynı jetonlar kullanılır;
   koleksiyon sayfalarının satır içi CSS'i KOPYALANMAZ, burada temiz yazılır.
   ========================================================================== */

:root {
  --warm-white: #f7f5f1;
  --near-black: #111110;
  --midnight-navy: #0b1420;
  --deep-navy: #08111d;
  --soft-gray: #e7e4de;
  --tint-navy: #f1f1ee;
  --muted-ink: #6b6862;
  --bronze: #b7a17e;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--near-black);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.display { font-family: "Fraunces", Georgia, serif; font-weight: 300; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* --------------------------------------------------- Başlık ------------- */

header#siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 17, 16, .07);
}

header .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  padding: 16px 24px;
}
@media (min-width: 768px) { header .bar { padding: 16px 40px; } }

.bar-side { display: flex; align-items: center; min-width: 0; }
.bar-side.start { justify-content: flex-start; }
.bar-side.end { justify-content: flex-end; }

header nav {
  display: none;
  gap: 32px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 768px) { header nav { display: flex; } }
header nav a:hover { opacity: .7; }

.logo-center { justify-self: center; display: inline-flex; align-items: center; }
.logo-img { height: 33px; width: auto; filter: brightness(0); }
@media (min-width: 768px) { .logo-img { height: 42px; } }

.header-icons { display: flex; align-items: center; gap: 8px; }
.header-icons svg, .menu-btn svg { width: 19px; height: 19px; }

.header-icons a,
.search-btn,
.menu-btn,
.account-icon-link {
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.menu-btn { display: inline-flex; }
@media (min-width: 768px) { .menu-btn { display: none; } }

/* --------------------------------------------------- Sayfa yolu --------- */

.vv-artwork { padding: 32px 0 96px; }

.vv-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted-ink);
  margin-bottom: 28px;
}
.vv-crumbs a:hover { color: var(--near-black); }
.vv-crumbs span[aria-hidden] { opacity: .4; }
.vv-crumbs [aria-current] { color: var(--near-black); }

/* --------------------------------------------------- Yerleşim ----------- */

.vv-artwork-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) {
  .vv-artwork-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 64px;
    align-items: start;
  }
}

/* --------------------------------------------------- Galeri ------------- */

.vv-gallery-main {
  position: relative;
  background: var(--soft-gray);
  overflow: hidden;
}

.vv-gallery-main img {
  width: 100%;
  height: auto;
  /* Görsel ekranı tek başına doldurmasın: fiyat, ölçü ve iletişim butonu
     aynı ekranda görünsün. Tam boy için görsele tıklanır. */
  max-height: 74vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: opacity .3s var(--ease);
}

@media (max-width: 899px) {
  .vv-gallery-main img { max-height: 68vh; }
}

.vv-gallery-empty { aspect-ratio: 3 / 4; }

.vv-gallery-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 16, .55);
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
  pointer-events: none;
}

.vv-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.vv-thumb {
  padding: 0;
  border: 1px solid transparent;
  background: var(--soft-gray);
  cursor: pointer;
  line-height: 0;
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
  opacity: .75;
}
.vv-thumb img { width: 76px; height: 100px; object-fit: cover; }
.vv-thumb:hover, .vv-thumb:focus-visible { opacity: 1; }
.vv-thumb.is-active { border-color: var(--bronze); opacity: 1; }

/* --------------------------------------------------- Bilgi sütunu ------- */

.vv-eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted-ink);
  margin-bottom: 10px;
}

.vv-title {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  letter-spacing: .005em;
}

.vv-sub { margin-top: 8px; color: var(--muted-ink); font-size: 14px; }

.vv-price {
  margin: 22px 0 24px;
  font-size: 22px;
  letter-spacing: .01em;
}
.vv-price.is-request { font-size: 17px; color: var(--muted-ink); }

.vv-label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 10px;
}

.vv-sizes { margin-bottom: 26px; }
.vv-sizes ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.vv-sizes li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--soft-gray);
  background: #fff;
  font-size: 13.5px;
}
.vv-sizes em { font-style: normal; color: var(--muted-ink); font-size: 12.5px; }

.vv-specs {
  border-top: 1px solid var(--soft-gray);
  margin-bottom: 28px;
}
.vv-specs > div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-gray);
  font-size: 14px;
}
.vv-specs dt { color: var(--muted-ink); }

.vv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  background: var(--deep-navy);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.vv-cta:hover { background: var(--midnight-navy); transform: translateY(-1px); }

.vv-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-ink); }

/* --------------------------------------------------- İlgili eserler ----- */

.vv-related { margin-top: 88px; }
.vv-related h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 28px; }

.vv-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .vv-related-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.vv-related-media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft-gray);
}
.vv-related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.vv-related-card:hover .vv-related-media img { transform: scale(1.03); }
.vv-related-name { display: block; margin-top: 12px; font-size: 14px; }
.vv-related-price { display: block; margin-top: 4px; font-size: 13px; color: var(--muted-ink); }

/* --------------------------------------------------- Büyütme katmanı ---- */

.vv-zoom {
  position: fixed;
  inset: 0;
  z-index: 2147481000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: rgba(12, 11, 10, .94);
}
.vv-zoom[hidden] { display: none; }
.vv-zoom img { max-width: 97vw; max-height: 92vh; object-fit: contain; }

.vv-zoom-close,
.vv-zoom-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.vv-zoom-close { top: 18px; right: 18px; }
.vv-zoom-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.vv-zoom-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.vv-zoom-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
}

body.vv-zoom-open { overflow: hidden; }

/* --------------------------------------------------- Altbilgi ----------- */

footer.site {
  border-top: 1px solid var(--soft-gray);
  padding: 56px 0 32px;
  background: var(--warm-white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.footer-brand .display { font-size: 18px; letter-spacing: .1em; margin-bottom: 12px; }
.footer-head {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 12px;
}
footer.site p { font-size: 14px; margin-bottom: 6px; }
footer.site a:hover { color: var(--bronze); }
.footer-bottom { margin-top: 40px; color: var(--muted-ink); }

/* --------------------------------------------------- 404 ---------------- */

.vv-notfound { padding: 120px 24px; text-align: center; }
.vv-notfound h1 { font-size: 32px; margin-bottom: 12px; }
.vv-link { border-bottom: 1px solid var(--bronze); }
