/* ============================================================================
   REİNA YAYINLARI — Tasarım Sistemi (WordPress + WooCommerce teması)
   Tek aksan: #230034 · Sıcak fildişi nötrler · Keskin köşeler (radius≈0)
   Display: Playfair Display (serif) · Gövde: Manrope (sans)
============================================================================ */

:root {
  --paper: #fdfcfb;
  --paper-2: #f3efe9;
  --ink: #1c1722;
  --ink-soft: #4a4452;
  --brand: #230034;
  --brand-700: #34104a;
  --brand-300: #6a4a82;
  --accent: #e2682c;       /* canlı turuncu — kitabevi & duyuru & ön sipariş */
  --accent-600: #c8541d;
  --sale: #d62828;         /* kırmızı — indirim etiketi */
  --line: #e4ddd2;
  --line-soft: #efe9df;
  --gold: #9c7b3f;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1400px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--sans); }
::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Tipografi ---------- */
.r-display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.r-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-300); font-weight: 600;
}
.r-prose {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.85;
  color: var(--ink-soft); max-width: 68ch; text-wrap: pretty;
}
.r-prose p + p { margin-top: 1.25rem; }

/* ---------- Düzen ---------- */
.r-container { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .r-container { padding: 0 2rem; } }
.r-rule { width: 40px; height: 2px; background: var(--brand); margin-bottom: 1rem; }
.r-section { padding: 3rem 0; }
@media (min-width: 1024px) { .r-section { padding: 4rem 0; } }
.r-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.r-sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.r-showall {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; color: var(--brand); white-space: nowrap;
}
.r-showall svg { transition: transform 0.2s ease; }
.r-showall:hover svg { transform: translateX(3px); }

/* ---------- Butonlar ---------- */
.r-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9rem; font-family: var(--sans); letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.r-btn:active { transform: translateY(1px); }
.r-btn--primary { background: var(--brand); color: #fff; padding: 0.85rem 1.6rem; }
.r-btn--primary:hover { background: var(--brand-700); color: #fff; }
.r-btn--light { background: var(--paper); color: var(--brand); padding: 0.85rem 1.6rem; }
.r-btn--light:hover { background: #fff; }
.r-btn--ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.r-btn--ghost:hover { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.r-btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); padding: 0.8rem 1.5rem; }
.r-btn--outline:hover { background: var(--brand); color: #fff; }
.r-btn--block { width: 100%; }

/* ---------- Kitap kartı ---------- */
.r-card { display: flex; flex-direction: column; height: 100%; transition: transform 0.32s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.r-cover {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden;
  background: var(--paper-2); display: block;
  box-shadow: 0 1px 3px rgba(28,23,34,0.05);
  transition: box-shadow 0.32s cubic-bezier(0.16,1,0.3,1);
}
.r-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.16,1,0.3,1); }
@media (hover: hover) {
  .r-card:hover { transform: translateY(-5px); }
  .r-card:hover .r-cover { box-shadow: 0 20px 44px -14px rgba(35,0,52,0.32); }
  .r-card:hover .r-cover img { transform: scale(1.045); }
}
.r-badge {
  position: absolute; top: 0; left: 0; background: var(--accent); color: #fff;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; display: inline-flex; align-items: center; gap: 0.3rem; z-index: 1;
}
.r-badge--ink,
.r-badge--sale { background: var(--sale); color: #fff; }
.r-book-title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; margin: 0.7rem 0 0; transition: color 0.2s ease; }
.r-card:hover .r-book-title { color: var(--brand); }
.r-book-author { font-size: 0.875rem; color: var(--ink-soft); margin: 0.15rem 0 0; }
.r-price { font-size: 1.1rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-price del { font-size: 0.875rem; color: var(--ink-soft); margin-right: 0.35rem; font-weight: 400; }
.r-price ins { color: inherit; text-decoration: none; }
.r-price--sale { color: var(--sale); }
.r-price--sale .r-price-sep { color: var(--ink-soft); font-size: 0.75rem; font-weight: 500; margin-right: 0.35rem; }
.r-price--sale ins { color: var(--sale); }
.r-card-actions { margin-top: auto; padding-top: 0.75rem; display: flex; gap: 0.5rem; }
.r-fav {
  width: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: all 0.2s ease;
}
.r-fav:hover { border-color: var(--brand); color: var(--brand); }
.r-fav.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Satış kartı — kapak, bilgi ve fiyat/aksiyon alanı tek kompakt blok */
.r-product-card {
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid var(--line-soft);
  background: #fff;
}
.r-product-card .r-cover {
  padding: 0.65rem;
  background: #fff;
  box-shadow: none;
}
.r-product-card .r-cover img { object-fit: contain; }
.r-product-card .r-badge {
  top: 0.65rem;
  left: 0.65rem;
}
.r-product-card-copy { min-height: 4.45rem; }
.r-product-card .r-book-author {
  display: block;
  margin: 0.7rem 0 0.18rem;
  color: var(--accent-600);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}
.r-product-card .r-book-title {
  min-height: 2.7em;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}
.r-product-card-footer {
  display: flex;
  min-height: 48px;
  margin-top: auto;
  padding-top: 0.85rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}
.r-product-card-price { min-width: 0; line-height: 1.2; }
.r-product-card .r-price { display: block; font-size: 1rem; line-height: 1.2; }
.r-product-card .r-price--sale {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--sale);
}
.r-product-card .r-price--sale del {
  margin: 0 0 0.18rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 400;
}
.r-product-card .r-price--sale .r-price-sep { display: none; }
.r-product-card .r-price--sale ins { font-size: 1rem; font-weight: 700; }
.r-preorder-date { color: var(--brand); font-size: 0.75rem; font-weight: 600; line-height: 1.3; }
.r-product-card .r-card-actions {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  align-items: stretch;
  gap: 0.4rem;
}
.r-product-card .r-card-actions .r-btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
}
.r-product-card .r-card-actions .r-btn svg { width: 17px; height: 17px; }
.r-product-card .r-action-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.r-product-card .r-fav {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
}

/* ---------- Izgaralar ---------- */
.r-grid-books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.6rem 2.4rem; }
@media (min-width: 640px) { .r-grid-books { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .r-grid-books { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Yazar avatar ---------- */
.r-avatar {
  position: relative; width: 100%; max-width: 150px; aspect-ratio: 1/1; margin: 0 auto;
  border-radius: 9999px; overflow: hidden; background: var(--paper-2);
}
.r-avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.r-card:hover .r-avatar img { transform: scale(1.06); }

/* ---------- Form ---------- */
.r-field {
  width: 100%; background: #fff; border: 1px solid var(--line); padding: 0.8rem 1rem;
  font-size: 0.95rem; font-family: var(--sans); color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.r-field:focus { outline: none; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.r-field::placeholder { color: #9b9388; }
.r-label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; }

/* ============================================================================
   HEADER
============================================================================ */
.r-header { position: sticky; top: 0; z-index: 50; background: rgba(253,252,251,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }

/* Duyuru şeridi — turuncu, sürekli kayan (sadece kitabevi) */
.r-announce { background: var(--accent); color: #fff; overflow: hidden; padding: 0.45rem 0; }
.r-announce-track { display: flex; gap: 3rem; width: max-content; white-space: nowrap; animation: r-announce-marq 24s linear infinite; }
.r-announce-track span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
@keyframes r-announce-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Ortalanmış büyük logo: sol | logo | sağ */
.r-headrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem; min-height: 84px; }
.r-head-side { display: flex; align-items: center; gap: 0.1rem; }
.r-head-right { justify-content: flex-end; }
.r-logo { display: flex; align-items: center; justify-content: center; }
.r-logo img { height: 86px; width: auto; display: block; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.r-logo:hover img { transform: scale(1.04); }
@media (min-width: 1024px) { .r-logo img { height: 128px; } .r-headrow { min-height: 132px; } }
.r-search-trigger { gap: 0.4rem; }
.r-search-trigger-text { font-size: 0.85rem; font-weight: 600; }
.r-iconbtn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; background: transparent; border: none; border-radius: 50%; color: var(--ink); cursor: pointer; position: relative;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease; }
.r-iconbtn:hover { color: var(--brand); background: rgba(74,20,90,0.08); transform: translateY(-2px) scale(1.08); box-shadow: 0 6px 16px rgba(74,20,90,0.14); }
.r-iconbtn:active { transform: translateY(0) scale(0.95); box-shadow: none; }
.r-cart-count { position: absolute; top: 2px; right: 0; background: var(--brand); color: #fff; font-size: 0.6rem; font-weight: 700; min-width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* Hesap dropdown menüsü */
.r-account { position: relative; display: inline-flex; }
.r-account-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 168px; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 14px 34px rgba(15,13,18,0.14); padding: 0.35rem; }
.r-account-menu a { display: block; padding: 0.6rem 0.8rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; transition: background 0.15s ease, color 0.15s ease; }
.r-account-menu a:hover { background: var(--paper); color: var(--brand); }

/* Logonun altındaki menü (kategoriler) — ortalı */
.r-nav { border-top: 1px solid var(--line-soft); }
.r-nav ul { display: flex; align-items: center; justify-content: center; gap: 2rem; height: 46px; margin: 0; padding: 0; list-style: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.r-nav a { position: relative; color: var(--ink); padding-bottom: 4px; transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1); }
.r-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--brand); border-radius: 2px; transition: width 0.28s cubic-bezier(0.16,1,0.3,1), left 0.28s cubic-bezier(0.16,1,0.3,1); }
.r-nav a:hover { color: var(--brand); transform: translateY(-1px); }
.r-nav a:hover::after { width: 100%; left: 0; }
.r-nav .current-menu-item > a, .r-nav a.is-active { color: var(--brand); }
.r-nav .current-menu-item > a::after, .r-nav a.is-active::after { width: 100%; left: 0; }
.r-only-desktop { display: none; }
@media (min-width: 1024px) { .r-only-desktop { display: flex; } .r-only-mobile { display: none; } }

/* Inline arama çubuğu (popup değil) */
.r-search-inline { border-top: 1px solid var(--line-soft); background: var(--paper); }
.r-search-inline form { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0; }
.r-search-inline > .r-container > form > svg { color: var(--brand); flex-shrink: 0; }
.r-search-inline input { flex: 1; min-width: 0; border: 1px solid var(--line); background: #fff; padding: 0.7rem 1rem; font-family: var(--sans); font-size: 0.98rem; color: var(--ink); outline: none; }
.r-search-inline input:focus { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.r-search-inline .r-btn { padding: 0.7rem 1.4rem; flex-shrink: 0; }

/* mobil çekmece */
.r-drawer-wrap {
  position: fixed; inset: 0; z-index: 70; background: rgba(28,23,34,0.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
}
.r-drawer-wrap.is-open { opacity: 1; visibility: visible; pointer-events: auto; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.r-drawer {
  position: absolute; left: 0; top: 0; height: 100%; width: 82%; max-width: 320px; background: var(--paper); padding: 1.5rem; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform 0.42s cubic-bezier(0.22,1,0.36,1); will-change: transform;
}
.r-drawer-wrap.is-open .r-drawer { transform: translateX(0); }
.r-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.r-drawer-nav { list-style: none; margin: 0; padding: 0; }
.r-drawer-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* arama overlay */
.r-search-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(28,23,34,0.5); display: flex; justify-content: center; align-items: flex-start; padding: 5rem 1rem 1rem; }
.r-search { width: 100%; max-width: 640px; background: var(--paper); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.r-search-input { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.25rem; border-bottom: 1px solid var(--line); }
.r-search-input input { flex: 1; border: none; background: transparent; padding: 1.25rem 0; font-size: 1.1rem; font-family: var(--sans); color: var(--ink); outline: none; }

[hidden] { display: none !important; }

/* Görünmez başlık (SEO/erişilebilirlik için kalır, ekranda görünmez) */
.r-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Ortalı sayfa başlığı (Yazar Başvurusu, Hakkımızda) */
.r-page-title { text-align: center; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 2.75rem 0 0.25rem; }
.r-page-title + .r-page-rule { width: 44px; height: 2px; background: var(--brand); margin: 0.9rem auto 0; }

/* Hakkımızda — Yazar Başvurusu ile aynı başlık dili */
.r-about-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #3a1150 55%, #5a1e6e 100%);
  color: #fff;
  padding: 3.4rem 0 3rem;
  text-align: center;
}
.r-about-title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0;
}
.r-about-body { padding-top: 2.25rem; padding-bottom: 3.5rem; }
.r-about-content { margin-left: auto; margin-right: auto; text-align: center; }
.r-about-content .r-prose { max-width: none; line-height: 1.5; }
.r-about-content .r-prose p { margin: 0 0 0.85rem; }
.r-about-content .r-prose p + p { margin-top: 0; }

/* ============================================================================
   ANASAYFA
============================================================================ */
.r-hero { position: relative; background: #efeae4; color: var(--paper); overflow: hidden; }
.r-hero--img .r-slide-img { filter: none; }
.r-hero-track { position: relative; height: min(600px, 56.25vw); min-height: 420px; }

/* Kategori kısayol çubuğu (anasayfa) */
.r-cat-bar { background: #fff; border-bottom: 1px solid var(--line-soft); }
.r-cat-bar-inner { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.85rem 1rem; scrollbar-width: none; -ms-overflow-style: none; }
.r-cat-bar-inner::-webkit-scrollbar { display: none; }
.r-cat-chip { flex: 0 0 auto; padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background 0.18s, color 0.18s, border-color 0.18s; }
.r-cat-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.r-cat-chip--all { background: var(--brand); color: #fff; border-color: var(--brand); }
.r-cat-chip--all:hover { background: var(--brand-700); }
@media (min-width: 1024px) { .r-cat-bar-inner { padding: 0.9rem 2rem; justify-content: center; flex-wrap: wrap; overflow: visible; } }
.r-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1); pointer-events: none; }
.r-slide.is-active { opacity: 1; pointer-events: auto; }
.r-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-slide-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,13,18,0.82) 0%, rgba(15,13,18,0.48) 45%, rgba(15,13,18,0.04) 100%); }
.r-slide-inner { position: relative; height: 100%; display: flex; align-items: center; }
.r-slide-box { max-width: 560px; padding: 5rem 0; }
.r-slide-box h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-top: 1rem; }
.r-slide-box p { margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.6; color: rgba(247,244,239,0.86); max-width: 460px; }
.r-slide-box .r-btn { margin-top: 2rem; }
.r-slide-ctrls { position: absolute; bottom: 24px; right: 24px; display: flex; gap: 8px; z-index: 2; }
.r-slide-ctrls button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--paper); border: 1px solid rgba(247,244,239,0.4); cursor: pointer; transition: background 0.2s, color 0.2s; }
.r-slide-ctrls button:hover { background: var(--paper); color: var(--brand); }
.r-slide-dots { position: absolute; bottom: 30px; left: 16px; display: flex; gap: 8px; z-index: 2; }
.r-slide-dots button { height: 3px; width: 20px; background: rgba(247,244,239,0.4); border: none; cursor: pointer; transition: width 0.3s, background 0.3s; padding: 0; }
.r-slide-dots button.is-active { width: 40px; background: var(--paper); }

/* ===== Yazar Başvurusu — zenginleştirilmiş sayfa ===== */
.r-apply-hero { background: linear-gradient(135deg, var(--brand) 0%, #3a1150 55%, #5a1e6e 100%); color: #fff; padding: 4rem 0 3.4rem; text-align: center; }
.r-apply-eyebrow { display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em; font-weight: 600; opacity: 0.85; margin-bottom: 0.8rem; }
.r-apply-title { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; }
.r-apply-lead { max-width: 60ch; margin: 1.1rem auto 1.8rem; font-size: 1.06rem; line-height: 1.7; color: rgba(255,255,255,0.9); }
.r-apply-cta { display: inline-flex; align-items: center; gap: 0.5rem; }
.r-apply-wrap { padding-bottom: 4rem; }
.r-apply-sec { margin-top: 3.4rem; }
.r-apply-h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--brand); text-align: center; margin: 0; }
.r-apply-sub { text-align: center; color: var(--ink-soft); margin: 0.5rem 0 2rem; }

.r-apply-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.r-apply-step { position: relative; background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 2.2rem 1.4rem 1.6rem; text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.r-apply-step:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(35,0,52,0.10); border-color: var(--brand); }
.r-apply-step-n { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.r-apply-step-ic { color: var(--brand); display: inline-flex; margin-bottom: 0.7rem; }
.r-apply-step h3 { font-size: 1.12rem; margin: 0 0 0.4rem; }
.r-apply-step p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.r-apply-step a { color: var(--brand); font-weight: 600; word-break: break-all; }

.r-apply-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.r-apply-benefit { display: flex; gap: 1rem; align-items: flex-start; background: #faf8fb; border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.3rem 1.4rem; }
.r-apply-benefit > span { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: rgba(35,0,52,0.07); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.r-apply-benefit h3 { font-size: 1.02rem; margin: 0 0 0.25rem; }
.r-apply-benefit p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.r-apply-terms { max-width: none; }
.r-apply-foot { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1rem; line-height: 1.6; }

.r-apply-cta-card { margin-top: 3.4rem; background: linear-gradient(120deg, var(--brand), #4a145a); color: #fff; border-radius: 20px; padding: 2.4rem 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.r-apply-cta-card h2 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 0.4rem; color: #fff; }
.r-apply-cta-card p { margin: 0; color: rgba(255,255,255,0.88); max-width: 52ch; line-height: 1.6; }
.r-apply-cta-card .r-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem; }

.r-apply-genel { text-align: center; max-width: 70ch; margin-left: auto; margin-right: auto; }
.r-apply-genel p { color: var(--ink-soft); line-height: 1.7; }
.r-apply-genel a { color: var(--brand); font-weight: 600; }

@media (max-width: 820px) {
  .r-apply-steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .r-apply-benefits { grid-template-columns: 1fr; }
  .r-apply-cta-card { flex-direction: column; text-align: center; align-items: center; }
}


/* ===== E-Bülten kayıt bandı ===== */
.r-bulten { background: linear-gradient(120deg, var(--brand), #4a145a); color: #fff; margin: 3.5rem 0 0; }
.r-bulten-inner { display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: center; padding: 3rem 0; }
@media (min-width: 860px) { .r-bulten-inner { grid-template-columns: 1.05fr 1fr; gap: 3rem; padding: 3.4rem 0; } }
.r-bulten-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.14); margin-bottom: 1rem; }
.r-bulten-title { font-family: var(--serif, Georgia, serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin: 0 0 0.7rem; color: #fff; }
.r-bulten-text { color: rgba(255,255,255,0.85); line-height: 1.65; margin: 0; max-width: 46ch; }
.r-bulten-form { width: 100%; }
.r-bulten-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.r-bulten-input { flex: 1 1 220px; min-width: 0; padding: 0.95rem 1.2rem; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); color: #fff; border-radius: 999px; font-size: 0.95rem; transition: border-color 0.2s, background 0.2s; }
.r-bulten-input::placeholder { color: rgba(255,255,255,0.7); }
.r-bulten-input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.2); }
.r-bulten-btn { flex: 0 0 auto; background: #fff !important; color: var(--brand) !important; border-radius: 999px; padding: 0.95rem 1.9rem; font-weight: 700; border: none; transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s; }
.r-bulten-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.22); }
.r-bulten-btn:disabled { opacity: 0.7; cursor: default; transform: none; box-shadow: none; }
.r-bulten-msg { margin: 0.9rem 0 0; font-size: 0.9rem; font-weight: 600; }
.r-bulten-msg.is-ok { color: #d8ffe4; }
.r-bulten-msg.is-err { color: #ffd9d9; }
.r-bulten-kvkk { margin: 0.8rem 0 0; font-size: 0.76rem; color: rgba(255,255,255,0.62); line-height: 1.5; }

.r-shopband { background: var(--accent); color: #fff; }
.r-shopband-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}
.r-shopband-copy { max-width: 760px; }
.r-shopband .r-eyebrow { color: rgba(255,255,255,0.76); }
.r-shopband h2 { font-size: clamp(2rem, 4vw, 3.25rem); color: #fff; margin-top: 0.75rem; }
.r-shopband p { color: rgba(255,255,255,0.88); margin: 0.9rem 0 0; line-height: 1.55; max-width: 62ch; }
.r-shopband-cta {
  flex: 0 0 auto;
  background: #fff;
  color: var(--brand);
  padding: 0.9rem 1.6rem;
  box-shadow: none;
}
.r-shopband-cta:hover { background: var(--paper); color: var(--brand); transform: translateY(-1px); }
@media (min-width: 900px) {
  .r-shopband-inner {
    min-height: 250px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

/* Kompakt anasayfa ızgarası (daha küçük kapaklar — bir bakışta sığsın) */
@media (min-width: 640px) { .r-grid-books.is-compact { grid-template-columns: repeat(4, 1fr); gap: 2.6rem 2.4rem; } }
@media (min-width: 1024px) { .r-grid-books.is-compact { grid-template-columns: repeat(6, 1fr); gap: 3rem 2.8rem; } }

/* Otomatik kayan kitap şeridi (marquee) */
.r-marq-section { overflow: hidden; }
/* Öne Çıkanlar başlığı ortalı */
.r-marq-section .r-sec-head { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
.r-marq-section .r-rule { margin-left: auto; margin-right: auto; }
.r-marquee { overflow: hidden; position: relative; margin: 0 -1rem; padding: 0.5rem 1rem; }
@media (min-width: 1024px) { .r-marquee { margin: 0 -2rem; padding: 0.5rem 2rem; } }
.r-marquee-track { display: flex; gap: 1.25rem; width: max-content; will-change: transform; }

/* ===== Öne Çıkanlar / Yeni Çıkanlar — Ephesus ölçülerinde ürün rafı ===== */
.r-featured {
  max-width: 100%;
  overflow: hidden;
  padding: 2rem 0 2.9375rem;
  text-align: center;
}
.r-featured + .r-featured { border-top: 1px solid var(--line-soft); }
.r-featured-title {
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
.r-featured-wrap { position: relative; }
.r-featured .r-marquee { overflow: hidden; margin: 0 2.5rem; padding: 0; }
.r-featured .r-marquee-track { align-items: flex-start; gap: 20px; padding: 0; }
.r-featured .r-feat-item { flex: 0 0 auto; width: 220px; text-align: center; }
.r-featured .r-book3d {
  position: relative;
  display: flex;
  width: 100%;
  height: 162px;
  margin: 0 0 0.8rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 3px !important;
  box-shadow: none;
  transform: none;
  transition: background-color 0.2s ease;
}
.r-featured .r-book3d img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 12px);
  object-fit: contain;
  transform: none;
  transition: none;
}
.r-featured .r-badge { left: 25%; }
.r-featured .r-book3d::before,
.r-featured .r-book3d::after { display: none; }
.r-featured .r-feat-item:hover { transform: none; }
.r-featured .r-feat-item:hover .r-book3d { background: #d1d1d1; box-shadow: none; transform: none; }
.r-featured .r-card:hover .r-cover img { box-shadow: none; transform: none; }
.r-feat-name {
  min-height: 2.7em;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: uppercase;
}
.r-featured .r-book-author { margin-top: 0.2rem; text-align: center; }
.r-featured .r-feat-item > p:not(.r-book-author) { display: none; }
/* Yan oklar */
.r-feat-nav {
  position: absolute;
  top: 42%;
  z-index: 5;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.r-feat-nav:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.r-feat-prev { left: 0; }
.r-feat-next { right: 0; }
/* Siyah hap buton — referansla aynı 125 × 30 px ritim */
.r-featured-more { margin-top: 1.6rem; }
.r-btn-pill {
  display: inline-block;
  min-width: 125px;
  border: 1px solid #000;
  border-radius: 20px !important;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 18px;
  padding: 5px 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.r-btn-pill:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.r-marq-item { flex: 0 0 auto; width: 220px; }
@media (min-width: 1024px) {
  .r-featured { max-width: 1865px; }
  .r-featured .r-marquee { margin-right: 25px; margin-left: 30px; }
  .r-featured .r-feat-item,
  .r-featured .r-marq-item { width: 285px; }
  .r-featured .r-book3d { height: 210px; }
}
@media (max-width: 639px) {
  .r-featured { padding: 1.75rem 0 1.5rem; }
  .r-featured .r-marquee { margin: 0 2rem; }
  .r-featured .r-marquee-track { gap: 16px; }
  .r-featured .r-feat-item,
  .r-featured .r-marq-item { width: 170px; }
  .r-featured .r-book3d { height: 125px; }
  .r-feat-nav { width: 32px; height: 32px; }
}

/* Footer SSS (anasayfa, koyu) */
.r-faq-foot { border-bottom: 1px solid rgba(255,255,255,0.12); }
.r-faq-foot-inner { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1rem 3rem; }
@media (min-width: 1024px) { .r-faq-foot-inner { padding: 4.5rem 2rem 3.5rem; } }
.r-authors-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .r-authors-strip { grid-template-columns: repeat(6, 1fr); } }
.r-authors-strip .r-card { text-align: center; }
.r-author-name { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; transition: color 0.2s ease; }
.r-authors-strip .r-card:hover .r-author-name { color: var(--brand); }

/* ============================================================================
   İKİNCİL SAYFA BAŞLIĞI
============================================================================ */
.r-pagehero { background: rgba(239,233,224,0.5); border-bottom: 1px solid var(--line); }
.r-pagehero .r-container { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.r-pagehero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.r-pagehero p { margin-top: 1rem; max-width: 64ch; color: var(--ink-soft); line-height: 1.7; font-size: 1.02rem; }
/* Sola yaslı dar içerik kolonu (başlıkla aynı sol kenar) */
.r-content-narrow { max-width: 780px; }

/* ============================================================================
   MAĞAZA — filtre + sıralama
============================================================================ */
.r-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.25rem;
  padding: 1.25rem; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 1.25rem;
}
.r-filter-field { display: flex; flex-direction: column; gap: 0.35rem; }
.r-filter-field > label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.r-filters select, .r-filters input[type="number"] {
  background: #fff; border: 1px solid var(--line); padding: 0.55rem 0.7rem; font-family: var(--sans);
  font-size: 0.9rem; color: var(--ink); min-width: 150px;
}
.r-filters select:focus, .r-filters input:focus { outline: none; border-color: var(--brand); }
.r-filter-price > div { display: flex; align-items: center; gap: 0.4rem; }
.r-filter-price input { min-width: 0; width: 90px; }
.r-filter-check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: var(--ink); padding-bottom: 0.55rem; }
.r-filter-clear { font-size: 0.85rem; font-weight: 600; color: #a23; padding-bottom: 0.6rem; }
.r-filter-clear:hover { text-decoration: underline; }

.r-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0 1.5rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 2rem; flex-wrap: wrap; }
.r-result-count { font-size: 0.92rem; color: var(--ink-soft); }
.r-result-count strong { color: var(--ink); }
.r-sort { display: flex; align-items: center; gap: 0.6rem; }
.r-sort label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.r-sort select { background: #fff; border: 1px solid var(--line); padding: 0.5rem 0.7rem; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.r-sort select:focus { outline: none; border-color: var(--brand); }

/* Mağazada ilk ürün kartı ve tüm aksiyonları masaüstü ekranına sığsın */
@media (min-width: 1024px) {
  body.woocommerce.archive .r-container.r-section { padding-top: 2rem; }
  body.woocommerce.archive .r-filters {
    gap: 0.75rem 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
  }
  body.woocommerce.archive .r-filters select,
  body.woocommerce.archive .r-filters input[type="number"] { padding-top: 0.45rem; padding-bottom: 0.45rem; }
  body.woocommerce.archive .r-toolbar { padding: 0 0 0.35rem; margin-bottom: 0.75rem; }
  body.woocommerce.archive .r-book-title { margin-top: 0.55rem; }
  body.woocommerce.archive .r-card-actions { padding-top: 0.55rem; }
}
@media (min-width: 1440px) {
  body.woocommerce.archive .r-grid-books { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem; }
}

/* Tüm select'lerde tutarlı marka renkli ok işareti */
.r-filters select, .r-sort select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23230034' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.65rem center; }

/* ============================================================================
   MİNİ-SEPET + TOAST
============================================================================ */
.r-minicart-wrap {
  position: fixed; inset: 0; z-index: 95; background: rgba(28,23,34,0.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.34s ease, visibility 0.34s;
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
}
.r-minicart-wrap.is-open { opacity: 1; visibility: visible; pointer-events: auto; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.r-minicart {
  position: absolute; top: 0; right: 0; height: 100%; width: 92%; max-width: 380px;
  background: var(--paper); display: flex; flex-direction: column; padding: 1.25rem;
  box-shadow: -18px 0 60px rgba(0,0,0,0.28);
  transform: translateX(100%); transition: transform 0.44s cubic-bezier(0.22,1,0.36,1); will-change: transform;
}
.r-minicart-wrap.is-open .r-minicart { transform: translateX(0); }
@keyframes r-slide-in { from { transform: translateX(40px); opacity: 0.4; } to { transform: translateX(0); opacity: 1; } }
/* Sepete eklerken ikon zıplaması + genel yardımcılar */
body.r-noscroll { overflow: hidden; }
@keyframes r-cart-pulse { 0% { transform: scale(1); } 30% { transform: scale(1.28); } 55% { transform: scale(0.9); } 100% { transform: scale(1); } }
[data-r-cart-open].is-bump { animation: r-cart-pulse 0.45s ease; }
.r-mc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 0.5rem; }
.js-mini-cart { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.r-mc-items { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.r-mc-item { display: flex; gap: 0.85rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
.r-mc-thumb img { width: 48px; height: 70px; object-fit: cover; background: var(--paper-2); }
.r-mc-info { display: flex; flex-direction: column; gap: 0.2rem; }
.r-mc-name { font-family: var(--serif); font-size: 0.98rem; line-height: 1.25; }
.r-mc-name:hover { color: var(--brand); }
.r-mc-qty { font-size: 0.82rem; color: var(--ink-soft); }
.r-mc-total { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; margin-top: 0.5rem; border-top: 1px solid var(--line); font-size: 1rem; }
.r-mc-total strong { color: var(--brand); font-size: 1.15rem; }
.r-mc-empty { text-align: center; color: var(--ink-soft); padding: 2.5rem 0 1.5rem; }

#r-toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 110; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.r-toast {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1.3rem; font-size: 0.9rem; font-weight: 600;
  border-radius: 999px; box-shadow: 0 10px 34px rgba(0,0,0,0.28);
  opacity: 0; transform: translateY(18px) scale(0.94);
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.34s cubic-bezier(0.16,1,0.3,1);
}
.r-toast.is-on { opacity: 1; transform: translateY(0) scale(1); }
.r-toast-ic { display: inline-flex; color: #ff5a7a; animation: r-heart-beat 0.5s ease; }
@keyframes r-heart-beat { 0% { transform: scale(0.4); } 45% { transform: scale(1.35); } 70% { transform: scale(0.85); } 100% { transform: scale(1); } }
/* Favori butonu pop */
@keyframes r-fav-pop { 0% { transform: scale(1); } 35% { transform: scale(1.4); } 60% { transform: scale(0.85); } 100% { transform: scale(1); } }
.r-fav.is-pop { animation: r-fav-pop 0.42s ease; }

/* ============================================================================
   KİTAPLAR — arama + kategori kutucukları
============================================================================ */
.r-books-search {
  display: flex; align-items: center; gap: 0.6rem; max-width: 620px; margin: 0 auto 2.75rem;
  border: 1px solid var(--line); background: #fff; padding: 0.4rem 0.4rem 0.4rem 1rem;
}
.r-books-search input { flex: 1; border: none; background: transparent; font-size: 0.98rem; font-family: var(--sans); color: var(--ink); outline: none; padding: 0.5rem 0; }
.r-books-search .r-btn { padding: 0.7rem 1.4rem; }

.r-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .r-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  body.page-template-template-kitaplar .r-container.r-section { max-width: 1489px; }
  .r-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
}
.r-cat-box {
  position: relative; aspect-ratio: 19 / 14; overflow: hidden; display: flex; align-items: flex-end;
  background: var(--brand); isolation: isolate;
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1), box-shadow 0.32s cubic-bezier(0.16,1,0.3,1);
}
.r-cat-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.58); transition: transform 0.55s cubic-bezier(0.16,1,0.3,1); z-index: -1; }
.r-cat-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,0,52,0.1) 40%, rgba(35,0,52,0.72) 100%); z-index: -1; transition: background 0.32s ease; }
@media (hover: hover) {
  .r-cat-box:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -14px rgba(35,0,52,0.42); }
  .r-cat-box:hover img { transform: scale(1.07); }
  .r-cat-box:hover::after { background: linear-gradient(180deg, rgba(35,0,52,0.22) 25%, rgba(35,0,52,0.88) 100%); }
}
.r-cat-box-name { color: #fff; font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.4rem); padding: 1rem 1.1rem; line-height: 1.15; }

/* ============================================================================
   YAZARLAR
============================================================================ */
.r-yazar-search { display: flex; align-items: center; gap: 0.75rem; max-width: 440px; margin: 0 auto 3rem; border: 1px solid var(--line); background: #fff; padding: 0.85rem 1.1rem; color: var(--ink-soft); }
.r-yazar-search input { flex: 1; border: none; background: transparent; font-size: 0.95rem; font-family: var(--sans); color: var(--ink); outline: none; }
/* Yazarlar sayfası — avatarlar merkeze toplanmış, birbirine yakın */
.r-yazar-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.4rem; }
.r-yazar-grid .r-card { text-align: center; width: 118px; }
/* daire avatarları 2 kat küçük */
.r-yazar-grid .r-avatar { max-width: 75px; }

.r-author-head { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; padding: 3.5rem 0; text-align: center; }
@media (min-width: 768px) { .r-author-head { grid-template-columns: 200px 1fr; text-align: left; } }
.r-author-photo { width: 160px; height: 160px; border-radius: 9999px; overflow: hidden; background: var(--paper-2); margin: 0 auto; }
@media (min-width: 768px) { .r-author-photo { width: 200px; height: 200px; } }
.r-author-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-author-socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; justify-content: center; }
@media (min-width: 768px) { .r-author-socials { justify-content: flex-start; } }
.r-author-socials a { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); border: 1px solid var(--line); padding: 0.4rem 0.8rem; transition: background 0.2s, color 0.2s; }
.r-author-socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================================
   KİTAP DETAY (WooCommerce single product override)
============================================================================ */
.r-detail { display: grid; grid-template-columns: 1fr; align-items: start; gap: 1.75rem; padding-top: 1.75rem; }
.r-detail-cover { display: flex; justify-content: center; align-items: flex-start; }
.r-detail-cover .r-cover { max-width: 220px; width: 100%; flex: 0 0 auto; }
@media (min-width: 768px) {
  .r-detail { grid-template-columns: 280px minmax(0, 1fr); gap: 3rem; padding-top: 2rem; }
  .r-detail-cover .r-cover { max-width: 280px; }
}
.r-detail h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.r-detail-author { display: inline-block; margin-top: 0.6rem; font-size: 1.05rem; color: var(--brand); font-weight: 600; }
.r-detail-price { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.5rem 0 0; font-size: 1.6rem; }
.r-detail-actions { display: flex; gap: 0.6rem; margin-top: 1.25rem; max-width: 460px; }
.r-detail-actions .r-fav { width: 52px; }
.r-detail-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--ink-soft); max-width: 460px; line-height: 1.5; }
.r-detail-block { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.r-detail-h { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 0.9rem; }
.r-kunye-row { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.r-kunye-row dt { color: var(--ink-soft); font-weight: 600; margin: 0; }
.r-kunye-row dd { margin: 0; }
.r-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.r-tag { font-size: 0.8rem; border: 1px solid var(--line); padding: 0.25rem 0.7rem; color: var(--brand); transition: background 0.2s, color 0.2s; }
.r-tag:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================================
   SSS / ACCORDION
============================================================================ */
.r-acc { border-top: 1px solid rgba(255,255,255,0.15); }
.r-acc.is-light { border-top-color: var(--line); }
.r-acc-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
.r-acc.is-light .r-acc-item { border-bottom-color: var(--line); }
.r-acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; background: transparent; border: none; cursor: pointer; text-align: left; }
.r-acc-q span { font-family: var(--serif); font-size: 1.18rem; line-height: 1.35; color: var(--paper); }
.r-acc.is-light .r-acc-q span { color: var(--ink); }
.r-acc-q .r-acc-ic { color: var(--paper); flex-shrink: 0; }
.r-acc.is-light .r-acc-q .r-acc-ic { color: var(--brand); }
.r-acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.16,1,0.3,1); }
.r-acc-item.is-open .r-acc-a { grid-template-rows: 1fr; }
.r-acc-a > div { overflow: hidden; }
.r-acc .r-acc-a p { margin: 0; padding: 0 2.5rem 1.4rem 0; font-size: 0.96rem; line-height: 1.7; color: rgba(247,244,239,0.72); }
.r-acc.is-light .r-acc-a p { color: var(--ink-soft); }
.r-acc-item .r-acc-ic-minus { display: none; }
.r-acc-item.is-open .r-acc-ic-plus { display: none; }
.r-acc-item.is-open .r-acc-ic-minus { display: block; }

/* Anasayfa SSS (footer yerine) */
.r-faq-home { border-top: 1px solid var(--line); background: rgba(239, 233, 224, 0.45); }
.r-faq-home-inner { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1rem; }
@media (min-width: 1024px) { .r-faq-home-inner { padding: 4.5rem 2rem; } }

/* ============================================================================
   WOOCOMMERCE SAYFALARI (Hesabım / Sepet / Ödeme) — minimalist
============================================================================ */
.r-wc-page { padding: 3rem 0 4.5rem; }
.r-wc-page.is-narrow .r-container { max-width: 720px; }
.r-wc-page .woocommerce { font-family: var(--sans); }

/* Hesabım · Adreslerim — kart düzeni */
.r-addr-intro { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 1.75rem; max-width: 60ch; }
.r-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.r-addr-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft);
  border-top: 3px solid var(--brand); padding: 1.5rem 1.5rem 1.25rem; transition: box-shadow 0.18s ease, transform 0.18s ease; }
.r-addr-card:hover { box-shadow: 0 12px 30px rgba(35,0,52,0.08); transform: translateY(-2px); }
.r-addr-card.is-empty { border-top-color: var(--line); background: #fbfafc; }
.r-addr-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.r-addr-icon { display: inline-flex; color: var(--brand); flex: 0 0 auto; }
.r-addr-card.is-empty .r-addr-icon { color: var(--ink-soft); }
.r-addr-title { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin: 0; }
.r-addr-badge { margin-left: auto; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); background: var(--paper); padding: 0.2rem 0.5rem; border: 1px solid var(--line-soft); }
.r-addr-body { flex: 1 1 auto; margin-bottom: 1.25rem; }
.r-addr-body address { font-style: normal; font-family: var(--sans); font-size: 0.95rem; line-height: 1.75; color: var(--ink); }
.r-addr-empty { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.r-addr-foot { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.r-addr-foot .r-btn { width: 100%; justify-content: center; }
.r-addr-del { font-size: 0.82rem; font-weight: 600; color: var(--sale); text-decoration: none; }
.r-addr-del:hover { text-decoration: underline; }
@media (max-width: 600px) { .r-addr-grid { grid-template-columns: 1fr; } }

/* Auth: başlık + sekmeler ortada dar; giriş kompakt; kayıt geniş 2 sütun */
.r-auth-head, .r-auth-tabs { max-width: 440px; margin-left: auto; margin-right: auto; }
.r-auth-panel[data-r-auth-panel="login"] .r-form { max-width: 420px; margin: 0 auto; }

/* Kayıt formu yatay: alanlar .r-field-grid ile ikişerli eşleşir (güvenli) */

/* ===== Giriş / Üye Ol — sekmeli auth ===== */
.r-auth { }
.r-auth-head { text-align: center; margin-bottom: 1.75rem; }
.r-auth-title { font-size: clamp(1.7rem, 3.4vw, 2.2rem); color: var(--brand); margin: 0 0 0.5rem; }
.r-auth-sub { font-size: 0.95rem; color: var(--ink-soft); margin: 0 auto; max-width: 34ch; line-height: 1.55; }
.r-auth-tabs { display: flex; border: 1px solid var(--line); margin-bottom: 1.6rem; }
.r-auth-tab { flex: 1 1 50%; padding: 0.85rem 1rem; background: var(--paper); border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); transition: background 0.2s ease, color 0.2s ease; }
.r-auth-tab + .r-auth-tab { border-left: 1px solid var(--line); }
.r-auth-tab.is-active { background: var(--brand); color: #fff; }
.r-auth-panel { display: none; }
.r-auth-panel.is-active { display: block; animation: r-auth-fade 0.3s ease; }
@keyframes r-auth-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Auth form — çerçevesiz, sade (kutu-içinde-kutu yok) */
.r-form.r-form, .r-auth .woocommerce-form-login, .r-auth .woocommerce-form-register {
  border: none !important; background: transparent !important; padding: 0 !important; margin: 0; }
.r-form--card.r-form--card {
  background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none; }

.r-field { margin: 0 0 0.85rem; display: block; }
.r-field > label:not(.r-sr-only) { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
  display: block; margin-bottom: 0.3rem; letter-spacing: 0.02em; text-transform: uppercase; }
.r-field-lbl { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
  display: block; margin-bottom: 0.3rem; letter-spacing: 0.02em; text-transform: uppercase; }
.r-field input,
.r-field select { width: 100%; background: #fbfafc; border: 1px solid var(--line-soft); padding: 0.85rem 0.95rem;
  font-family: var(--sans); font-size: 0.92rem; color: var(--ink); border-radius: 0; line-height: 1.35;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease; }
.r-field input:hover, .r-field select:hover { border-color: var(--line); }
.r-field input::placeholder { color: #a09da8; }
.r-field input:focus, .r-field select:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }

/* Select — özel ok işareti */
.r-field--select { position: relative; }
.r-field select { appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.2rem; cursor: pointer; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23230034' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; }
.r-field select:invalid, .r-field select option[value=""] { color: #9a97a1; }

.r-req { color: var(--sale); font-weight: 700; }
.r-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.7rem; }
.r-field-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.r-field-grid--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* Hesap Bilgilerim (edit-account) — kompakt görünüm */
.woocommerce-EditAccountForm.edit-account { max-width: 640px; }
.woocommerce-EditAccountForm .woocommerce-form-row,
.woocommerce-EditAccountForm .r-field { margin-bottom: 0.7rem; }
.woocommerce-EditAccountForm input.input-text,
.woocommerce-EditAccountForm .r-field input,
.woocommerce-EditAccountForm .r-field select {
  padding: 0.55rem 0.7rem; font-size: 0.95rem;
}
.woocommerce-EditAccountForm label { font-size: 0.85rem; margin-bottom: 0.15rem; }
/* Ad + Soyad yan yana */
.woocommerce-EditAccountForm p.woocommerce-form-row--first { width: 48%; float: left; margin-right: 4%; }
.woocommerce-EditAccountForm p.woocommerce-form-row--last { width: 48%; float: right; }
.woocommerce-EditAccountForm .clear { clear: both; }
/* Şifre değişikliği fieldset'i daha derli toplu */
.woocommerce-EditAccountForm fieldset { margin: 0.8rem 0; padding: 0.8rem 1rem; border: 1px solid #eee; border-radius: 8px; }
.woocommerce-EditAccountForm fieldset legend { font-size: 0.9rem; font-weight: 600; padding: 0 0.4rem; }
/* Ek alanlar bölümü */
.r-acc-extra { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; }
.r-acc-extra-title { font-size: 1rem; margin: 0 0 0.8rem; color: var(--brand, #230034); }

/* Hesap panosu — hızlı erişim kartları */
.r-dash-hello h2 { font-size: 1.4rem; margin: 0 0 0.3rem; color: var(--brand, #230034); }
.r-dash-hello p { margin: 0 0 1.4rem; color: #555; }
.r-dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.r-dash-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding: 1.1rem 1rem; border: 1px solid #eee; border-radius: 14px;
  background: #fff; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.r-dash-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(35,0,52,.10); border-color: var(--brand, #230034); }
.r-dash-ic { color: var(--brand, #230034); line-height: 0; }
.r-dash-lbl { font-weight: 600; font-size: 1rem; }
.r-dash-meta { font-size: 0.82rem; color: #888; }
.r-dash-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.4rem; }
@media (max-width: 780px) { .r-dash-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .r-dash-cards { grid-template-columns: 1fr; } }
.r-acc-extra .r-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; margin: 0.4rem 0; }
@media (max-width: 640px) { .r-field-grid--4 { grid-template-columns: 1fr 1fr; }
  .woocommerce-EditAccountForm p.woocommerce-form-row--first,
  .woocommerce-EditAccountForm p.woocommerce-form-row--last { width: 100%; float: none; margin: 0 0 0.7rem; } }
.r-field-hint { font-size: 0.78rem; color: var(--ink-soft); margin: -0.3rem 0 0.7rem; }

/* Telefon — bayraklı ülke kodu + numara */
.r-phone { display: flex; align-items: stretch; flex-wrap: nowrap; }
.r-phone input { flex: 1 1 auto; min-width: 0; width: auto; }
.r-combo--dial { flex: 0 0 auto; }

/* Bayraklı, aramalı ülke/kod seçici (combobox) */
.r-combo { position: relative; display: inline-flex; }
.r-combo--country { display: block; }
.r-combo-btn { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; cursor: pointer;
  background: #f2f0f4; border: 1px solid var(--line-soft); padding: 0 0.8rem; min-height: 46px;
  font-family: var(--sans); font-size: 0.92rem; color: var(--ink); transition: border-color 0.18s ease; }
.r-combo--dial .r-combo-btn { border-right: none; }
.r-combo--country .r-combo-btn { width: 100%; justify-content: flex-start; background: #fbfafc; }
.r-combo-btn--wide { min-height: 48px; }
.r-combo-btn:hover { border-color: var(--line); }
.r-combo-flag { font-size: 1.15rem; line-height: 1; }
.r-combo-val { font-weight: 600; }
.r-combo--country .r-combo-val { font-weight: 500; }
.r-combo-caret { margin-left: auto; padding-left: 0.4rem; color: var(--ink-soft); font-size: 0.7rem; }
.r-combo--dial .r-combo-caret { margin-left: 0.15rem; padding-left: 0; }

.r-combo-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 80; width: 300px; max-width: 84vw;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(15,13,18,0.16); }
.r-combo--country .r-combo-pop { width: 100%; }
.r-combo-search { width: 100%; border: none; border-bottom: 1px solid var(--line-soft); padding: 0.75rem 0.9rem;
  font-family: var(--sans); font-size: 0.9rem; color: var(--ink); outline: none; }
.r-combo-search:focus { border-bottom-color: var(--brand); box-shadow: inset 0 -1px 0 var(--brand); }
.r-combo-list { list-style: none; margin: 0; padding: 0.25rem 0; max-height: 260px; overflow-y: auto; }
.r-combo-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; cursor: pointer;
  font-size: 0.9rem; color: var(--ink); transition: background 0.12s ease; }
.r-combo-item:hover { background: var(--paper); }
.r-combo-item .r-combo-flag { font-size: 1.2rem; }
.r-combo-item .r-combo-name { flex: 1 1 auto; }
.r-combo-item .r-combo-dial { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 0.85rem; }

/* Şifre göster/gizle (ikon) */
.r-pass-wrap { position: relative; display: block; }
.r-pass-wrap input { padding-right: 3rem; }
.r-pass-toggle { position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--ink-soft); padding: 0.25rem;
  display: inline-flex; align-items: center; }
.r-pass-toggle:hover { color: var(--brand); }

/* Onay kutuları */
.r-check { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.55rem 0 0; cursor: pointer;
  font-size: 0.82rem; line-height: 1.45; color: var(--ink-soft); }
.r-check input { margin-top: 0.1rem; width: 16px; height: 16px; accent-color: var(--brand); flex: 0 0 auto; }
.r-check a { color: var(--accent); font-weight: 600; }
.r-check a:hover { text-decoration: underline; }
.r-check--sm { font-size: 0.82rem; margin: 0; }

.r-form--compact .r-btn--lg { margin-top: 1.25rem; }
.r-btn--lg { padding-top: 1rem; padding-bottom: 1rem; font-size: 0.92rem; }

.r-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.4rem 0 1.1rem; }
.r-auth-link { font-size: 0.82rem; color: var(--brand); font-weight: 600; }
.r-auth-alt { text-align: center; font-size: 0.84rem; color: var(--ink-soft); margin: 1.1rem 0 0; }
.r-auth-switch { background: none; border: none; padding: 0; cursor: pointer; color: var(--brand); font-weight: 700;
  font-family: var(--sans); font-size: 0.84rem; }
.r-auth-switch:hover, .r-auth-link:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .r-field-grid, .r-field-grid--3 { grid-template-columns: 1fr; }
  .r-form--card.r-form--card { padding: 1.25rem !important; }
}

/* Form başlığı (Giriş Yap / Üye Ol) */
.woocommerce h2 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 0 0 1.1rem; color: var(--ink); }

/* Etiketler + alanlar */
.woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce form .form-row label,
.woocommerce-account label { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 0.4rem; }
.woocommerce form .form-row input.input-text,
.woocommerce input.input-text,
.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row input[type="tel"],
.woocommerce select, .woocommerce textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); padding: 0.75rem 0.9rem;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); border-radius: 0; box-shadow: none; line-height: 1.4;
}
.woocommerce form .form-row input:focus,
.woocommerce select:focus, .woocommerce textarea:focus { outline: none; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }

/* Giriş/Üye kutusu */
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-form-coupon, .woocommerce-EditAccountForm {
  border: 1px solid var(--line); background: #fff; padding: 1.75rem !important; border-radius: 0; margin: 0;
}
.woocommerce .col2-set, .woocommerce-page .col2-set { width: 100%; max-width: none; }

/* Butonlar (markaya uygun) */
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--brand); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  border-radius: 0; padding: 0.8rem 1.6rem; border: none; text-transform: none; letter-spacing: 0; transition: background 0.2s ease, transform 0.12s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--brand-700); color: #fff; }

/* ===== Sepet — Trendyol tarzı 2 sütun ===== */
.r-cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; align-items: start; }
.r-cart-main { min-width: 0; }
.r-cart-aside { position: sticky; top: 96px; }
.r-cart-aside .cart_totals { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; }
.r-cart-aside .cart_totals h2 { font-family: var(--serif); font-size: 1.3rem; color: var(--brand); margin: 0 0 0.9rem; }
.r-cart-aside .wc-proceed-to-checkout { padding: 0.3rem 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--brand) !important; color: #fff !important; border-radius: 10px !important;
  font-size: 1rem !important; padding: 0.95rem 1rem !important; box-shadow: 0 6px 18px rgba(35,0,52,0.18);
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--brand-700) !important; transform: translateY(-1px); }
/* Kupon + güncelle satırı */
.woocommerce-cart td.actions { background: #faf8fb; border-radius: 12px; padding: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: space-between; }
.woocommerce-cart td.actions .coupon { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.woocommerce-cart td.actions .coupon .input-text { min-width: 180px; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; }
.woocommerce-cart td.actions .coupon button { border-radius: 8px !important; }
.woocommerce-cart .r-cart-update {
  background: transparent !important; color: var(--brand) !important; border: 1px solid var(--brand) !important; border-radius: 8px !important;
}
.woocommerce-cart .r-cart-update:hover:not([disabled]) { background: var(--brand) !important; color: #fff !important; }
.woocommerce-cart .r-cart-update[disabled] { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 900px) {
  .r-cart-grid { grid-template-columns: 1fr; }
  .r-cart-aside { position: static; }
  .woocommerce-cart td.actions { flex-direction: column; align-items: stretch; }
}
.woocommerce a.button:active, .woocommerce button.button:active { transform: translateY(1px); }

/* Sepete Ekle — turuncu (kart + ürün detay) */
.r-btn--primary.add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.r-btn--primary.add_to_cart_button:hover,
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.button.add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover {
  background: var(--accent-600) !important;
  transform: translateY(-1px) !important;
}
.r-btn--primary.add_to_cart_button.added { background: #2e7d32 !important; }
/* Ön Sipariş Ver — siyah, sade */
.r-btn--primary.r-preorder-btn {
  background: #141414 !important; color: #fff !important; border: none !important;
  border-radius: 4px !important; box-shadow: none !important; text-transform: none !important;
}
.r-btn--primary.r-preorder-btn:hover { background: #000 !important; }

/* "Beni hatırla" / "Parolanızı mı unuttunuz" */
.woocommerce-form-login__rememberme { font-size: 0.9rem; color: var(--ink-soft); margin: 0.6rem 0 !important; }
.woocommerce-LostPassword { font-size: 0.9rem; }
.woocommerce-LostPassword a { color: var(--brand); }

/* Bildirimler */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
  border-top-color: var(--brand); background: var(--paper-2); border-radius: 0; font-size: 0.92rem;
}

/* Hesap paneli (girişli) — yan menü + içerik */
.woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 1.5rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line-soft); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 1rem; font-weight: 600; font-size: 0.9rem; color: var(--ink); transition: color 0.2s, background 0.2s; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--paper-2); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--brand); }
.woocommerce-account .woocommerce-MyAccount-navigation .r-acc-nav-ic { display: inline-flex; color: var(--brand); flex: 0 0 auto; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover .r-acc-nav-ic { color: var(--brand); }
@media (min-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation { float: left; width: 30%; }
  .woocommerce-account .woocommerce-MyAccount-content { float: right; width: 66%; }
}

/* Sepet/ödeme tablo başlıkları */
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); }
.woocommerce table.shop_table th { font-family: var(--sans); }

/* ===== SEPET — dikey kart düzeni ===== */
.woocommerce-cart .woocommerce { max-width: 760px; margin: 0 auto; }

/* Tabloyu kartlara çevir */
.woocommerce-cart table.cart { border: none; margin: 0; }
.woocommerce-cart table.cart thead { display: none; }
.woocommerce-cart table.cart tbody { display: flex; flex-direction: column; gap: 1rem; }

.woocommerce-cart tr.cart_item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  grid-template-areas:
    "thumb name     remove"
    "thumb price    price"
    "thumb qty      qty"
    "thumb subtotal subtotal";
  column-gap: 1.1rem; row-gap: 0.5rem; align-items: center;
  border: 1px solid var(--line-soft); padding: 1.1rem 1.25rem; background: #fff;
}
.woocommerce-cart tr.cart_item td { display: block; border: none; padding: 0; text-align: left; }
.woocommerce-cart td.product-remove { grid-area: remove; align-self: start; justify-self: end; }
.woocommerce-cart td.product-remove a.remove { color: var(--sale) !important; font-size: 1.4rem; line-height: 1; }
.woocommerce-cart td.product-remove a.remove:hover { background: var(--sale) !important; color: #fff !important; }
.woocommerce-cart td.product-thumbnail { grid-area: thumb; align-self: start; }
.woocommerce-cart td.product-thumbnail img { width: 84px; height: auto; display: block; }
.woocommerce-cart td.product-name { grid-area: name; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; align-self: start; }
.woocommerce-cart td.product-name a { color: var(--ink); }
.woocommerce-cart td.product-name a:hover { color: var(--brand); }
.woocommerce-cart td.product-name .variation,
.woocommerce-cart td.product-name dl { font-size: 0.82rem; color: var(--ink-soft); }
.woocommerce-cart td.product-price { grid-area: price; }
.woocommerce-cart td.product-quantity { grid-area: qty; }
.woocommerce-cart td.product-subtotal { grid-area: subtotal; font-weight: 700; }
/* Alan etiketleri (Fiyat / Miktar / Ara Toplam) */
.woocommerce-cart tr.cart_item td.product-price::before,
.woocommerce-cart tr.cart_item td.product-quantity::before,
.woocommerce-cart tr.cart_item td.product-subtotal::before {
  content: attr(data-title) ": "; font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  color: var(--ink-soft); margin-right: 0.4rem; letter-spacing: 0.01em;
}
.woocommerce-cart td.product-quantity .quantity { display: inline-flex; }
.woocommerce-cart td.product-quantity input.qty { width: 64px; padding: 0.4rem; border: 1px solid var(--line); }

/* Kupon + güncelle satırı — tam genişlik alt alta */
.woocommerce-cart td.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center;
  border: none; padding: 1.1rem 0 0; margin-top: 0.5rem; border-top: 1px solid var(--line-soft); }
.woocommerce-cart td.actions .coupon { display: flex; gap: 0.5rem; flex: 1 1 auto; }
.woocommerce-cart td.actions .coupon .input-text { flex: 1 1 auto; min-width: 0; max-width: 220px; padding: 0.65rem 0.8rem; border: 1px solid var(--line); }
.woocommerce-cart td.actions button { padding: 0.65rem 1.1rem; }

/* Sepet toplamları — altta, tam genişlik (yatay sağ blok değil) */
.woocommerce-cart .cart-collaterals { width: 100%; float: none; margin-top: 1.75rem; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after { display: none; }
.woocommerce-cart .cart_totals h2 { font-family: var(--serif); font-weight: 500; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; }
@media (max-width: 480px) {
  .woocommerce-cart tr.cart_item { grid-template-columns: 64px 1fr; grid-template-areas: "thumb name" "thumb price" "thumb qty" "thumb subtotal" "remove remove"; }
  .woocommerce-cart td.product-remove { justify-self: start; }
}

/* ===== ÖDEME (checkout) — Trendyol tarzı 2 sütun ===== */
.woocommerce-checkout .r-checkout-grid { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 2rem; align-items: start; }
.r-checkout-main { min-width: 0; }

/* Fatura + teslimat tek sütun (yan yana değil) */
.woocommerce-checkout #customer_details.col2-set { display: block; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; margin: 0; }

/* Bölüm başlıkları */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin: 0 0 1.1rem; }

/* Kart benzeri kutular */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: #fff; border: 1px solid var(--line-soft); padding: 1.5rem; margin-bottom: 1.25rem; }

/* Form satırları — Ad|Soyad yan yana */
.woocommerce-checkout .form-row { margin: 0 0 1rem; }
.woocommerce-checkout .form-row-first { float: left; width: 48%; }
.woocommerce-checkout .form-row-last { float: right; width: 48%; }
.woocommerce-checkout .form-row-wide { clear: both; width: 100%; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after,
.woocommerce-checkout .woocommerce-address-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce-checkout .form-row label { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 0.35rem; }
.woocommerce-checkout .form-row .required { color: var(--sale); }

/* Sağ sabit sipariş özeti */
.r-checkout-aside { position: sticky; top: 24px; background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.r-checkout-aside .shop_table { border: none; margin: 0; width: 100%; }
.r-checkout-aside .shop_table th, .r-checkout-aside .shop_table td { padding: 0.55rem 0; border: none; border-top: 1px solid var(--line-soft); font-size: 0.9rem; text-align: right; }
.r-checkout-aside .shop_table th { text-align: left; font-weight: 600; }
.r-checkout-aside .shop_table thead th { border-top: none; padding-bottom: 0.75rem; }
.r-checkout-aside .cart_item td.product-name { text-align: left; color: var(--ink); }
.r-checkout-aside .order-total th, .r-checkout-aside .order-total td { font-weight: 700; font-size: 1.1rem; color: var(--brand); border-top: 2px solid var(--line); padding-top: 0.9rem; }

/* Ödeme yöntemleri */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; margin-top: 1rem; }
.woocommerce-checkout #payment ul.payment_methods { border: 1px solid var(--line-soft); padding: 1rem; margin: 0 0 1rem; }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); border-radius: 0; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 0; margin: 0; }

/* Siparişi tamamla butonu */
.woocommerce-checkout #place_order {
  width: 100%; background: var(--brand); color: #fff; border: none; padding: 1rem 1.2rem; border-radius: 0;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; cursor: pointer; transition: background 0.2s ease; }
.woocommerce-checkout #place_order:hover { background: var(--accent); }

@media (max-width: 900px) {
  .woocommerce-checkout .r-checkout-grid { grid-template-columns: 1fr; }
  .r-checkout-aside { position: static; }
  .woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 100%; float: none; }
}

/* ============================================================================
   FOOTER
============================================================================ */
.r-footer { background: var(--brand); color: var(--paper); margin-top: 5rem; }
.r-faq { border-bottom: 1px solid rgba(255,255,255,0.12); }
.r-faq-inner { max-width: 1080px; margin: 0 auto; padding: 4rem 1rem; }
@media (min-width: 1024px) { .r-faq-inner { padding: 5rem 2rem; } }
.r-faq-inner > h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--paper); margin-bottom: 2rem; }
.r-foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2rem; }
@media (min-width: 768px) { .r-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.r-foot-brand { grid-column: span 2; }
@media (min-width: 768px) { .r-foot-brand { grid-column: span 1; } }
.r-foot-brand p { font-size: 0.9rem; line-height: 1.65; color: rgba(247,244,239,0.72); max-width: 300px; margin: 0; }
.r-foot-logo { height: 120px !important; width: auto !important; max-width: 300px; display: block; margin: 0 0 1.25rem; filter: brightness(0) invert(1); }
/* WooCommerce sayfalarında img kurallarının footer logoyu büyütmesini engelle */
.woocommerce .r-foot-logo, .woocommerce-page .r-foot-logo { max-width: 300px !important; }
.r-socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.r-socials a svg { width: 17px; height: 17px; }
.r-socials a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); color: rgba(247,244,239,0.8); font-weight: 600; font-size: 0.85rem; transition: background 0.2s, color 0.2s; }
.r-socials a:hover { background: var(--paper); color: var(--brand); }
.r-foot-h { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,244,239,0.5); margin: 0 0 1rem; }
.r-foot-links { list-style: none; margin: 0; padding: 0; }
.r-foot-contact { list-style: none; margin: 0 0 0.9rem; padding: 0; font-size: 0.88rem; line-height: 1.6; opacity: 0.9; }
.r-foot-contact a { color: inherit; text-decoration: none; }
.r-foot-contact a:hover { text-decoration: underline; }
.r-foot-links li { margin-bottom: 0.6rem; }
.r-foot-links a { font-size: 0.9rem; color: rgba(247,244,239,0.8); transition: color 0.2s ease; }
.r-foot-links a:hover { color: var(--paper); }
.r-foot-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; font-size: 0.78rem; color: rgba(247,244,239,0.6); }
@media (min-width: 768px) { .r-foot-bottom { flex-direction: row; } }
.r-foot-bottom p { margin: 0; }
.r-pay { display: flex; align-items: center; gap: 0.5rem; }
.r-pay span { border: 1px solid rgba(255,255,255,0.25); padding: 0.25rem 0.5rem; font-weight: 600; color: rgba(247,244,239,0.85); }

/* ---------- Başvuru şartları kutusu ---------- */
.r-sart-box { margin-top: 2.5rem; border: 1px solid var(--line); background: #fff; }
.r-sart-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; background: var(--brand); color: var(--paper); border: none; cursor: pointer; font-weight: 700; letter-spacing: 0.08em; font-size: 0.85rem; font-family: var(--sans); }
.r-sart-body { padding: 1.5rem 1.25rem; }
.r-sart-body ul { margin: 0; padding-left: 1.1rem; }
.r-sart-body li { margin-bottom: 0.75rem; line-height: 1.6; color: var(--ink-soft); font-size: 0.95rem; }
.r-sart-note { margin: 1.25rem 0 0; font-weight: 600; color: var(--ink); }

/* ---------- WooCommerce ufak uyumlar ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--brand); }
.woocommerce span.onsale { background: var(--brand); border-radius: 0; }

/* ============================================================================
   MOBİL RAFİNASYON (≤639px) — daha ferah kenar boşluğu, biraz küçük kartlar
============================================================================ */
@media (max-width: 639px) {
  /* Kenarlardan daha fazla nefes alanı */
  .r-container { padding-left: 1.6rem; padding-right: 1.6rem; }
  .r-cat-bar-inner { padding-left: 1.6rem; padding-right: 1.6rem; }

  /* Kitaplar biraz daha küçük + aralar biraz daha açık */
  .r-grid-books { gap: 1.7rem 1.6rem; }
  .r-book-title { font-size: 0.9rem; margin-top: 0.55rem; }
  .r-book-author { font-size: 0.78rem; }
  .r-price { font-size: 0.95rem; }

  /* Kart butonları sığsın (Sepete Ekle tek satır) */
  .r-card-actions { gap: 0.4rem; }
  .r-card-actions .r-btn { font-size: 0.76rem; padding: 0.6rem 0.4rem; gap: 0.35rem; }
  .r-fav { width: 40px; }

  /* Bölüm başlığı mobilde biraz daha küçük */
  .r-sec-head h2 { font-size: 1.4rem; }
  .r-showall { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .r-cover img, .r-avatar img, .r-slide { transition: none; }
  .r-marquee-track, .r-announce-track { animation: none; }
  .r-card { transition: none; }
  /* Sepet/menü açılış animasyonu kullanıcı isteğiyle her zaman aktif (reduced-motion'dan muaf) */
}

/* ===== Keskin köşe düzeni — tüm UI yuvarlatmaları kaldırıldı ===== */
*, *::before, *::after { border-radius: 0 !important; }
/* İstisna: yazar avatarları/fotoğrafları yuvarlak kalsın */
.r-avatar, .r-author-photo { border-radius: 9999px !important; }
