/* ============================================================
   Sou Parke — WordPress'e özel sınıflar
   main.css / v2.css / v3.css üzerine biner.
   ============================================================ */

/* ---------- Erişilebilirlik ---------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .18);
  clip: auto !important;
  clip-path: none;
  color: #b3121a;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 12px;
  line-height: normal;
  padding: 12px 20px;
  text-decoration: none;
  top: 12px;
  width: auto;
  z-index: 100000;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #14100e;
  outline-offset: 2px;
}

/* ---------- Yönetici çubuğu ile çakışma ---------- */
.admin-bar .topbar { top: 32px; }
.admin-bar header.site.stuck { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .topbar { top: 46px; }
  .admin-bar header.site.stuck { top: 46px; }
}

/* ---------- Menü (wp_nav_menu) ---------- */
.navlist { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.navlist > li { position: relative; }
.navlist > li > a {
  display: block; padding: 14px 13px; font-size: 14.5px; font-weight: 600;
  color: #241d19; text-decoration: none; letter-spacing: -.01em; white-space: nowrap;
}
.navlist > li > a:hover,
.navlist > li.current-menu-item > a,
.navlist > li.current-menu-parent > a,
.navlist > li.current-menu-ancestor > a { color: #b3121a; }
.navlist > li.menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .55;
}
.navlist .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 232px; margin: 0; padding: 8px;
  list-style: none; background: #fff; border: 1px solid #ece7e2; border-radius: 14px;
  box-shadow: 0 22px 48px rgba(20, 16, 14, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.navlist li:hover > .sub-menu,
.navlist li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.navlist .sub-menu a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500;
  color: #3a2f28; text-decoration: none;
}
.navlist .sub-menu a:hover { background: #faf7f4; color: #b3121a; }
.navlist .sub-menu .sub-menu { top: 0; left: 100%; }

/* ---------- Mobil çekmece menüsü ---------- */
.drawer-menu, .drawer-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer-menu > li > a {
  display: block; padding: 15px 4px; font-size: 16px; font-weight: 650; color: #14100e;
  border-bottom: 1px solid #f0ebe6; text-decoration: none;
}
.drawer-menu .sub-menu { padding: 0 0 10px 14px; }
.drawer-menu .sub-menu a {
  display: block; padding: 10px 4px; font-size: 14.5px; color: #58483f;
  text-decoration: none; border-bottom: 1px dashed #f2ede8;
}
.drawer-menu .current-menu-item > a { color: #b3121a; }

/* ---------- Sayfalama ---------- */
.sou-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 44px 0 8px; }
.sou-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 13px; border-radius: 11px;
  border: 1px solid #e8e2dc; background: #fff; color: #3a2f28;
  font-size: 14.5px; font-weight: 650; text-decoration: none;
}
.sou-pager .page-numbers:hover { border-color: #14100e; }
.sou-pager .page-numbers.current { background: #14100e; border-color: #14100e; color: #fff; }
.sou-pager .page-numbers.dots { border-color: transparent; background: transparent; }

/* ---------- İçerik (the_content) ---------- */
.sou-icerik { max-width: 780px; }
.sou-icerik > * + * { margin-top: 18px; }
.sou-icerik h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.022em; margin-top: 38px; }
.sou-icerik h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 750; letter-spacing: -.018em; margin-top: 28px; }
.sou-icerik h4 { font-size: 17px; font-weight: 700; margin-top: 22px; }
.sou-icerik p, .sou-icerik li { font-size: 16px; line-height: 1.78; color: #4a3d35; }
.sou-icerik ul, .sou-icerik ol { padding-left: 22px; }
.sou-icerik li + li { margin-top: 7px; }
.sou-icerik a { color: #b3121a; text-underline-offset: 3px; }
.sou-icerik img { max-width: 100%; height: auto; border-radius: 16px; }
.sou-icerik blockquote {
  margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid #b3121a;
  font-size: 18px; line-height: 1.6; color: #2a221d;
}
.sou-icerik table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sou-icerik th, .sou-icerik td { padding: 12px 14px; border-bottom: 1px solid #efe9e3; text-align: left; }
.sou-icerik th { background: #faf7f4; font-weight: 700; }
.sou-icerik code {
  background: #f6f2ee; border-radius: 6px; padding: 2px 6px; font-size: 14px;
}
.sou-icerik hr { border: 0; border-top: 1px solid #eee7e1; margin: 34px 0; }

/* Blok/klasik hizalamalar */
.alignleft { float: left; margin: 6px 24px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { width: min(1160px, 100vw - 40px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 13.5px; color: #7c6c62; margin-top: 8px; }
.sticky .sou-kart-baslik::after { content: " ★"; color: #b3121a; }

/* ---------- Sayfa başlığı ---------- */
.sou-sayfa-bas { padding: 34px 0 26px; border-bottom: 1px solid #f0ebe6; background: #fcfaf8; }
.sou-sayfa-bas h1 { font-size: clamp(27px, 4.4vw, 44px); font-weight: 820; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 0; }
.sou-sayfa-bas .ozet { margin: 12px 0 0; max-width: 640px; font-size: 16px; line-height: 1.65; color: #5b4c43; }
.sou-crumbs { font-size: 13px; color: #8b7a6f; }
.sou-crumbs a { color: #8b7a6f; text-decoration: none; }
.sou-crumbs a:hover { color: #b3121a; }
.sou-crumbs span[aria-current] { color: #14100e; font-weight: 600; }

/* ---------- GEO hızlı cevap ---------- */
.sou-hizli-cevap {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 22px 0; padding: 16px 18px;
  background: #fbf8f5; border: 1px solid #efe7e0; border-left: 3px solid #b3121a; border-radius: 12px;
}
.sou-hizli-cevap b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #b3121a; margin-bottom: 5px; }
.sou-hizli-cevap p { margin: 0; font-size: 15.5px; line-height: 1.66; color: #3a2f28; }

/* ---------- Ürün detay ---------- */
.urun-tek { padding: 30px 0 60px; }
.urun-tek .ust { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 46px; align-items: start; }
.urun-gorsel {
  position: relative; border-radius: 20px; overflow: hidden; background: #f7f3ef;
  border: 1px solid #efe9e3;
}
.urun-gorsel img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.urun-gorsel .buyut {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(20, 16, 14, .16); color: #14100e;
}
.urun-bilgi .rozet {
  display: inline-block; padding: 5px 11px; border-radius: 999px; background: #fdf0f0;
  color: #b3121a; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.urun-bilgi h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 820; letter-spacing: -.03em; line-height: 1.12; margin: 13px 0 6px; }
.urun-bilgi .sku { font-size: 13.5px; color: #8b7a6f; letter-spacing: .04em; }
.urun-bilgi .lead { margin: 16px 0 0; font-size: 16px; line-height: 1.76; color: #4a3d35; }
.urun-ozet { margin: 22px 0 0; border: 1px solid #efe9e3; border-radius: 15px; overflow: hidden; }
.urun-ozet dl { display: grid; grid-template-columns: 40% 60%; margin: 0; }
.urun-ozet dt, .urun-ozet dd { margin: 0; padding: 12px 16px; font-size: 14.5px; border-bottom: 1px solid #f2ede8; }
.urun-ozet dt { background: #faf7f4; color: #6b5b51; font-weight: 600; }
.urun-ozet dd { color: #241d19; font-weight: 600; }
.urun-ozet dl > :nth-last-child(-n+2) { border-bottom: 0; }
.urun-ozet dd a { color: #241d19; text-decoration: none; border-bottom: 1px dashed #d8cec6; }
.urun-ozet dd a:hover { color: #b3121a; border-color: #b3121a; }
.urun-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.urun-cta .btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; }
.urun-guven { display: flex; flex-wrap: wrap; gap: 16px 22px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #f0ebe6; }
.urun-guven span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #5b4c43; }
.urun-guven svg { color: #b3121a; flex: none; }

@media (max-width: 900px) {
  .urun-tek .ust { grid-template-columns: 1fr; gap: 26px; }
  .urun-ozet dl { grid-template-columns: 44% 56%; }
}

/* ---------- Arama sonuçları ---------- */
.sou-sonuc-liste { display: grid; gap: 14px; margin: 26px 0 0; }
.sou-sonuc {
  display: block; padding: 18px 20px; border: 1px solid #efe9e3; border-radius: 15px;
  background: #fff; text-decoration: none;
}
.sou-sonuc:hover { border-color: #14100e; }
.sou-sonuc h2 { font-size: 18px; font-weight: 720; letter-spacing: -.02em; margin: 0 0 5px; color: #14100e; }
.sou-sonuc p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #6b5b51; }
.sou-sonuc .tur { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #b3121a; font-weight: 700; }

/* ---------- 404 ---------- */
.sou-404 { padding: 74px 0 84px; text-align: center; }
.sou-404 .kod { font-size: clamp(64px, 14vw, 132px); font-weight: 850; letter-spacing: -.05em; line-height: .9; color: #14100e; }
.sou-404 .kod span { color: #b3121a; }
.sou-404 h1 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 780; letter-spacing: -.026em; margin: 16px 0 10px; }
.sou-404 p { max-width: 520px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: #5b4c43; }
.sou-404 .aksiyon { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.sou-404 .search { max-width: 460px; margin: 26px auto 0; position: relative; }

/* ---------- Yorumlar ---------- */
.sou-yorumlar { max-width: 780px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid #f0ebe6; }
.sou-yorumlar h2 { font-size: 22px; font-weight: 780; letter-spacing: -.02em; }
.sou-yorumlar ol { list-style: none; margin: 22px 0 0; padding: 0; }
.sou-yorumlar .comment-body { padding: 16px 0; border-bottom: 1px solid #f4efea; }
.sou-yorumlar .children { list-style: none; margin: 0; padding-left: 26px; }
.sou-yorumlar .comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 9px; }
.sou-yorumlar .comment-meta { font-size: 13px; color: #8b7a6f; }
.sou-yorumlar .form-submit input, .sou-yorumlar .submit {
  background: #b3121a; border: 0; border-radius: 11px; color: #fff;
  padding: 13px 22px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.sou-yorumlar textarea, .sou-yorumlar input[type="text"], .sou-yorumlar input[type="email"], .sou-yorumlar input[type="url"] {
  width: 100%; padding: 13px 14px; border: 1px solid #e5ded7; border-radius: 11px;
  font: inherit; font-size: 15px; background: #fff;
}
.sou-yorumlar .comment-form > p { margin: 0 0 14px; }

/* ---------- Boş durum ---------- */
.sou-bos { padding: 60px 0; text-align: center; }
.sou-bos h2 { font-size: 22px; font-weight: 760; letter-spacing: -.02em; }
.sou-bos p { color: #6b5b51; font-size: 15.5px; margin: 10px 0 20px; }

/* ---------- Yazdırma ---------- */
@media print {
  .topbar, header.site, footer.site, .fstrip, .wa-wrap, .totop, .cookie,
  .shop-side, .shop-bar, .mact, .cscroll { display: none !important; }
  body { background: #fff; }
  .card, .urun-gorsel { break-inside: avoid; }
}

/* ---------- Şablonlara özel ek sınıflar ---------- */
.crumb .now { color: #fff; font-weight: 600; }
.phero.light { background: #fcfaf8; border-bottom: 1px solid #f0ebe6; padding: 22px 0 18px; }
.phero.light .crumb { color: #8b7a6f; }
.phero.light .crumb a { color: #8b7a6f; }
.phero.light .crumb .now { color: #14100e; }

.shop-not { margin-top: 26px; font-size: 13.5px; color: #7c6c62; text-align: center; }
.shop-not a { color: #b3121a; font-weight: 600; text-decoration: none; }

.termlist { display: flex; flex-wrap: wrap; gap: 9px; }
.termlist a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid #e8e2dc; background: #fff;
  font-size: 14px; font-weight: 600; color: #3a2f28; text-decoration: none;
}
.termlist a:hover { border-color: #14100e; }
.termlist a span { font-weight: 500; color: #9c8b80; font-size: 13px; }

.band-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.band-cta .btn { white-space: nowrap; }

.ccard-liste { margin: 0; padding-left: 18px; color: #6b5b51; font-size: 14px; line-height: 1.9; }
.catcard-tur { margin: 4px 0 0; color: #7c6c62; font-size: 13.5px; }

.slogan-satir {
  margin-top: 26px; padding-left: 18px; border-left: 3px solid #b3121a;
  font-size: 19px; font-style: italic; color: #2a221d; letter-spacing: -.015em;
}
.etbis { background: #faf7f4; border-radius: 18px; padding: 28px 30px; }
.etbis h2 { margin-top: 0; font-size: 20px; }

.lbody .yol { color: #b3121a !important; font-weight: 600; }

.arama-alt { margin: 34px 0 16px; font-size: 20px; font-weight: 740; letter-spacing: -.02em; }
.arama-alt span { color: #9c8b80; font-weight: 500; }

.yazi-meta { font-size: 13.5px; color: #8b7a6f; }
.yazi-meta a { color: #8b7a6f; }
.yazi-etiket { margin-top: 26px; font-size: 13.5px; }
.yazi-etiket a {
  display: inline-block; margin-right: 6px; padding: 5px 11px; border-radius: 999px;
  background: #faf7f4; color: #6b5b51; text-decoration: none; font-size: 13px;
}
.yazi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); gap: 22px; }
.yazi-kart {
  display: block; border: 1px solid #efe9e3; border-radius: 18px; overflow: hidden;
  background: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.yazi-kart:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 16, 14, .1); }
.yazi-kart .ph { display: block; background: #f7f3ef; }
.yazi-kart .ph img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.yazi-kart .bd { display: block; padding: 18px 20px 22px; }
.yazi-kart .tar { display: block; font-size: 12px; letter-spacing: .06em; color: #b3121a; font-weight: 700; text-transform: uppercase; }
.yazi-kart h2 { margin: 8px 0 6px; font-size: 18px; font-weight: 730; letter-spacing: -.02em; color: #14100e; }
.yazi-kart .ozet { display: block; font-size: 14.5px; line-height: 1.62; color: #6b5b51; }

/* Panel: yeni alanlar */
.sou-not { margin: 14px 0 0; font-size: 13px; color: #9a8c82; }
#sou_kataloglar_metin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.7; }

/* ---------- Okunabilirlik: kart etiketleri ---------- */
.card .tag { font-size: 11.5px; letter-spacing: .1em; }
.card .csku { font-size: 12px; letter-spacing: .04em; }
.card .cmeta { font-size: 12.5px; }

/* ---------- Form durum mesajı ---------- */
#formNote { font-size: 13.5px; font-weight: 600; line-height: 1.5; }
#formNote.ok { color: #1a7f37; }
#formNote.hata { color: #b3121a; }

/* ---------- Güven şeridi: sayaç, etiket boyutunu almamalı ---------- */
.cs b .cnt {
  font-size: inherit; font-weight: inherit; line-height: inherit;
  letter-spacing: inherit; color: inherit; text-transform: none;
}
.stats .stat b .cnt, .cs b .cnt { font-variant-numeric: tabular-nums; }

/* ---------- Hayalet buton: açık zeminde de okunur olsun ---------- */
.btn.ghost { color: #14100e; border: 1px solid #d8cec6; }
.btn.ghost:hover { background: #14100e; color: #fff; border-color: #14100e; }
.band .btn.ghost, .fstrip .btn.ghost, .phero .btn.ghost, .chero .btn.ghost, .cbanner .btn.ghost {
  color: #fff; border-color: rgba(255, 255, 255, .35);
}
.band .btn.ghost:hover, .fstrip .btn.ghost:hover, .phero .btn.ghost:hover,
.chero .btn.ghost:hover, .cbanner .btn.ghost:hover { background: #fff; color: #14100e; border-color: #fff; }

/* .band içindeki H2 de H3 gibi görünsün (anlamsal doğruluk + tasarım) */
.band h2 { margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 780; letter-spacing: -.024em; }
.band .hl { color: #ff6b6e; }

/* ---------- Okunabilirlik: mikro etiketler en az 11 px ---------- */
.ccard .kind, .excard .kind, .locrow .kind { font-size: 11.5px; letter-spacing: .12em; }
.cmpc .rib { font-size: 11px; letter-spacing: .04em; }
.cf label { font-size: 11px; letter-spacing: .1em; }
.vw .vtag { font-size: 11px; letter-spacing: .13em; }
.cs span, .stats .stat span { font-size: 11.5px; letter-spacing: .07em; }
.card .tag, .card .csku { letter-spacing: .08em; }
.cscroll { font-size: 11.5px; }
.mact a, .mbar a, .mobil-bar a { font-size: 11.5px; }

/* ---------- Mobil filtre düğmeleri masaüstünde görünmesin ---------- */
.fclose, .fapply { display: none; }
@media (max-width: 900px) {
  .shop-side.open .fclose { display: grid; }
  .shop-side.open .fapply { display: block; }
}
