/* Sanat Kutusu — tek palet: eski kitap / parşömen tonları */
:root {
  --paper: #f1e6cd;
  --paper-alt: #e7d8b4;
  --paper-deep: #dbc99d;
  --ink: #2c2316;
  --ink-soft: #6b5a3e;
  --ink-faint: #9c8a68;
  --gold: #93701f;
  --gold-deep: #6f5417;
  --line: rgba(44, 35, 22, 0.14);
  --shadow: 0 16px 40px rgba(44, 35, 22, 0.16);
  --radius: 4px;
  --radius-lg: 10px;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.94rem;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.current { color: var(--ink); }

.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover { background: var(--gold-deep); transform: translateY(-2px); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.3rem;
  color: var(--ink);
  padding: 4px 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-faint);
}
.btn-outline:hover { border-color: var(--ink); background: var(--paper-alt); }

/* ---------- Hero (home) ---------- */
.hero {
  padding: 64px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero p.lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
  aspect-ratio: 2.2/1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 45%),
    linear-gradient(155deg, var(--paper-deep) 0%, var(--gold) 140%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 20px;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.25) saturate(1.1);
  mix-blend-mode: multiply;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Product grid & card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.grid-featured {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-featured .product-media { aspect-ratio: 1/1; font-size: 3.4rem; }

@media (max-width: 900px) {
  .grid-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-featured { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.product-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--paper-alt), var(--paper-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  position: relative;
}

.sku-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 9px;
  border-radius: 999px;
}

.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--gold);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: var(--shadow);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-body h3 { font-size: 1.12rem; }
.product-body p.desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.price { font-weight: 700; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; }

.price-group { display: inline-flex; align-items: baseline; gap: 8px; }
.price-original {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink-faint);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.price-discounted {
  font-weight: 700;
  font-family: "Fraunces", Georgia, serif;
  color: var(--gold-deep);
  font-size: 1.15rem;
}

.link-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 1px;
}
.link-cta:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.pagination button {
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: "Lora", serif;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pagination button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pagination button:hover:not(.active) { border-color: var(--ink-faint); color: var(--ink); }
.pagination button:disabled { opacity: 0.35; cursor: default; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.gallery-main-wrap { position: relative; }

.gallery-main {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--paper-alt), var(--paper-deep));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2rem;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-main img { width: 100%; height: 100%; object-fit: contain; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-thumbs button {
  aspect-ratio: 1/1;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--paper-alt);
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.gallery-thumbs button.active { border-color: var(--gold); transform: translateY(-2px); }
.gallery-thumbs button:hover { border-color: var(--ink-faint); }

.detail-info .sku-badge { position: static; display: inline-block; margin-bottom: 14px; }
.detail-info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.detail-info .price-group { font-size: 1.5rem; display: flex; margin-bottom: 20px; }
.detail-info .price-discounted { font-size: 1.5rem; }
.detail-info .price-original { font-size: 1.1rem; }
.detail-info .short-desc { color: var(--ink-soft); margin-bottom: 24px; }

.variant-picker { margin-bottom: 26px; }
.variant-picker-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.variant-picker-options { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper-alt);
  cursor: pointer;
  font-family: "Lora", serif;
  font-size: 0.86rem;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.variant-pill img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.variant-pill:hover { border-color: var(--ink-faint); }
.variant-pill.active {
  border-color: var(--gold);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--gold);
}
.detail-info .full-desc { margin-bottom: 30px; }
.detail-info .full-desc p { margin-bottom: 12px; }
.detail-info .full-desc strong { font-family: "Fraunces", Georgia, serif; color: var(--ink); }
.detail-info .full-desc ul { margin: 8px 0 4px; padding-left: 20px; }
.detail-info .full-desc li { margin-bottom: 6px; color: var(--ink-soft); }
.detail-info .full-desc li::marker { color: var(--gold); }

.reviews-box {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px dashed var(--ink-faint);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.reviews-box strong { color: var(--ink); display: block; margin-bottom: 6px; font-family: "Fraunces", Georgia, serif; }

/* ---------- Simple content pages ---------- */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose h1 { margin-bottom: 22px; font-size: clamp(1.9rem, 3vw, 2.5rem); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}
.contact-card .glyph { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 16px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 52px 0 24px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-brand .brand { color: var(--paper); }
.footer-brand p {
  color: color-mix(in srgb, var(--paper) 65%, transparent);
  margin-top: 10px;
  max-width: 30ch;
  font-size: 0.88rem;
}

.footer-col h4 {
  font-family: "Lora", serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--paper) 65%, transparent);
  margin-bottom: 12px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--paper) 88%, transparent);
  margin-bottom: 8px;
}
.footer-col a:hover { color: color-mix(in srgb, var(--paper) 60%, var(--gold)); }

.footer-bottom {
  border-top: 1px solid rgba(241, 230, 205, 0.14);
  padding-top: 20px;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
  text-align: center;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--ink);
  color: var(--paper);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  z-index: 60;
  border: 1px solid var(--gold);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-cta span.label { display: none; }
  .hero { padding: 40px 0 24px; }
  .section { padding: 52px 0; }
}

@media (max-width: 720px) {
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 18px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
}
