/* ==========================================================================
   WATER GRUP — temel tasarım sistemi (her sayfada yüklenir)
   Tokenlar, buton sistemi, ikon yardımcıları, breadcrumb, yer tutucu, sabit iletişim butonları.
   Kök sınıflar: .wg-theme (body), .wg-btn, .wg-cta, .wg-bc, .wg-ph, .wg-float, .wg-wrap
   ========================================================================== */

:root {
  --wg-navy: #123746;
  --wg-petrol: #15566a;
  --wg-teal: #159b9a;
  --wg-teal-dark: #117d7c;
  --wg-teal-soft: #eaf5f4;
  --wg-text: #334750;
  --wg-muted: #697b83;
  --wg-border: #e3eaec;
  --wg-soft: #eaf5f4;
  --wg-bg: #f7fafb;
  --wg-white: #fff;
  --wg-wa: #1f9d55;
  --wg-wa-dark: #178244;
  --wg-danger: #c0392b;
  --wg-radius: 16px;
  --wg-radius-sm: 10px;
  --wg-radius-lg: 22px;
  --wg-shadow-sm: 0 2px 10px rgba(18, 55, 70, .06);
  --wg-shadow: 0 10px 30px rgba(18, 55, 70, .08);
  --wg-shadow-lg: 0 24px 60px rgba(18, 55, 70, .14);
  --wg-ease: cubic-bezier(.22, .61, .36, 1);
  --wg-wrap: 1650px;
  --wg-gutter: 24px;
  --wg-hdr-h: 150px; /* JS gerçek yükseklikle günceller */
  --wg-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 1024px) { :root { --wg-hdr-h: 70px; } }
@media (max-width: 767px) { :root { --wg-hdr-h: 64px; } }

body.wg-theme { background: #fff; color: var(--wg-text); }
body.wg-theme .main-content { background: #fff; padding-bottom: 0; min-height: 0; }
body.wg-theme .page-content { overflow: visible; }
body.wg-theme.content-rounded::before { display: none; }

.wg-wrap { width: 100%; max-width: var(--wg-wrap); margin-inline: auto; padding-inline: var(--wg-gutter); box-sizing: border-box; }
.wg-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Eyebrow (küçük üst etiket) */
.wg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wg-teal); line-height: 1.2; }
.wg-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.wg-eyebrow--light { color: #7fe0d6; }
.wg-eyebrow--plain::before { display: none; }

/* ---------- Butonlar ---------- */
.wg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-family: var(--wg-font); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; border: 2px solid transparent; box-sizing: border-box; white-space: nowrap; transition: transform .18s var(--wg-ease), box-shadow .18s var(--wg-ease), background-color .18s, color .18s, border-color .18s; }
.wg-btn .wg-i { font-size: 18px; line-height: 1; }
.wg-btn:hover { transform: translateY(-2px); }
.wg-btn:focus-visible { outline: 3px solid rgba(21, 155, 154, .45); outline-offset: 2px; }
.wg-btn--primary { background: var(--wg-navy); color: #fff !important; box-shadow: 0 8px 20px rgba(18, 55, 70, .22); }
.wg-btn--primary:hover { background: var(--wg-petrol); color: #fff !important; box-shadow: 0 12px 26px rgba(18, 55, 70, .28); }
.wg-btn--teal { background: var(--wg-teal); color: #fff !important; box-shadow: 0 8px 20px rgba(21, 155, 154, .25); }
.wg-btn--teal:hover { background: var(--wg-teal-dark); color: #fff !important; }
.wg-btn--wa { background: var(--wg-wa); color: #fff !important; box-shadow: 0 8px 20px rgba(31, 157, 85, .22); }
.wg-btn--wa:hover { background: var(--wg-wa-dark); color: #fff !important; }
.wg-btn--ghost { background: #fff; color: var(--wg-navy) !important; border-color: var(--wg-border); }
.wg-btn--ghost:hover { border-color: var(--wg-teal); color: var(--wg-teal-dark) !important; background: var(--wg-teal-soft); }
.wg-btn--light { background: #fff; color: var(--wg-navy) !important; }
.wg-btn--light:hover { background: var(--wg-teal-soft); }
.wg-btn--outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.wg-btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.wg-btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.wg-btn--sm .wg-i { font-size: 16px; }
.wg-btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.wg-btn--xs { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }

/* ==========================================================================
   WATERGRUP BLOG CTA KUTULARI (SADECE CTA VE İÇERİĞİNİ ETKİLER)
   ========================================================================== */
.wg-side.wg-side--cta .wg-btn {
    width: 100%;
    margin-bottom: 10px;
}

.wg-article .wg-cta {
  display: block !important;
  margin-top: 40px !important;
  padding: 32px 28px !important;
  background: linear-gradient(180deg, #f3f7fb 0%, #eaf2f9 100%) !important;
  border: 1px solid #d5e3f0 !important;
  border-radius: 12px !important;
  text-align: center !important;
}

.wg-article .wg-cta h2 {
  margin: 0 0 12px !important;
  font-size: clamp(21px, 2.5vw, 25px) !important;
  color: #18334b !important;
  text-align: center !important;
}

.wg-article .wg-cta p {
  max-width: 660px !important;
  margin: 0 auto 22px !important;
  color: #465568 !important;
  text-align: center !important;
}

.wg-article .wg-cta-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.wg-article .wg-cta-buttons a {
  display: inline-block !important;
  padding: 12px 24px !important;
  border-radius: 7px !important;
  background: #1769aa !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  border: 1px solid #1769aa !important;
  transition: all 0.2s ease !important;
}

.wg-article .wg-cta-buttons a:hover {
  background: #125487 !important;
  border-color: #125487 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.wg-article .wg-cta-buttons a.secondary {
  background: #ffffff !important;
  color: #1769aa !important;
  border: 1px solid #1769aa !important;
}

.wg-article .wg-cta-buttons a.secondary:hover {
  background: #f0f7ff !important;
  color: #125487 !important;
}

/* Blog İçi Üst Uyarı / Aksiyon Kutusu */
.wg-article .wg-inline-cta {
  background: #f0f7ff !important;
  border-left: 4px solid #1769aa !important;
  padding: 20px 22px !important;
  border-radius: 0 10px 10px 0 !important;
  margin: 24px 0 !important;
}

.wg-article .wg-inline-cta-title {
  margin: 0 0 8px 0 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: #18334b !important;
}

.wg-article .wg-inline-cta p {
  margin: 0 0 16px 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #465568 !important;
}

.wg-article .wg-inline-cta-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.wg-article .wg-inline-cta-actions a {
  display: inline-block !important;
  padding: 10px 18px !important;
  border-radius: 7px !important;
  background: #1769aa !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border: 1px solid #1769aa !important;
  transition: all 0.2s ease !important;
}

.wg-article .wg-inline-cta-actions a:hover {
  background: #125487 !important;
  border-color: #125487 !important;
  color: #ffffff !important;
}

.wg-article .wg-inline-cta-actions a.secondary {
  background: #ffffff !important;
  color: #1769aa !important;
  border: 1px solid #1769aa !important;
}

.wg-article .wg-inline-cta-actions a.secondary:hover {
  background: #f0f7ff !important;
  color: #125487 !important;
}

@media (max-width: 680px) {
  .wg-article .wg-cta {
    padding: 24px 18px !important;
  }
  .wg-article .wg-inline-cta {
    padding: 16px !important;
  }
  .wg-article .wg-cta-buttons,
  .wg-article .wg-inline-cta-actions {
    flex-direction: column !important;
  }
  .wg-article .wg-cta-buttons a,
  .wg-article .wg-inline-cta-actions a {
    width: 100% !important;
    text-align: center !important;
  }
}


/* ---------- İkonlar: inline SVG (template-parts/icons.php sprite) ---------- */
.wg-i { display: inline-block; width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; overflow: visible; }
.wg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Breadcrumb ---------- */
.wg-bc { font-size: 13px; color: var(--wg-muted); padding: 14px 0 0; }
.wg-bc a { color: var(--wg-muted); text-decoration: none; transition: color .15s; }
.wg-bc a:hover { color: var(--wg-teal-dark); }
.wg-bc .woocommerce-breadcrumb, .wg-bc .rank-math-breadcrumb { padding: 0; margin: 0; font-size: inherit; color: inherit; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.wg-bc .woocommerce-breadcrumb ul { display: contents; }
.wg-bc .woocommerce-breadcrumb li { list-style: none; display: inline; }
.wg-bc .woocommerce-breadcrumb li::after { content: "/"; margin: 0 8px; opacity: .5; }
.wg-bc .woocommerce-breadcrumb li:last-child::after { content: none; }
.wg-bc .wg-bc__sep { opacity: .5; }
.wg-bc .rank-math-breadcrumb .separator { opacity: .5; }
.wg-bc .rank-math-breadcrumb .last, .wg-bc .woocommerce-breadcrumb li:last-child { color: var(--wg-navy); font-weight: 600; }

/* ---------- Yer tutucu görsel (başka firma görseli kullanılmaz) ---------- */
.wg-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(160deg, #f7fafb, #eaf5f4); color: var(--wg-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.wg-ph__drop { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #cde9e8, #a6dcd9); }

/* ---------- Sabit iletişim butonları (masaüstü) ---------- */
.wg-float { position: fixed; right: 18px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 9000; }
.wg-float__btn { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; font-size: 24px; box-shadow: 0 10px 26px rgba(18, 55, 70, .22); transition: transform .18s var(--wg-ease), box-shadow .18s; }
.wg-float__btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 55, 70, .3); }
.wg-float__btn--wa { background: var(--wg-wa); }
.wg-float__btn--call { background: var(--wg-navy); }
.wg-float__btn .wg-i { font-size: 24px; }
@media (max-width: 767px) { .wg-float { display: none; } }

/* ---------- Genel bölüm başlığı ---------- */
.wg-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.wg-sec-head__title { margin: 8px 0 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 750; letter-spacing: -.02em; line-height: 1.2; color: var(--wg-navy); }
.wg-sec-head__title span { color: var(--wg-teal); }
.wg-sec-head__text { margin: 10px 0 0; max-width: 680px; color: var(--wg-muted); font-size: 15.5px; line-height: 1.7; }
.wg-sec-head__link { display: inline-flex; align-items: center; gap: 8px; color: var(--wg-petrol); font-weight: 700; font-size: 14px; text-decoration: none; }
.wg-sec-head__link .wg-i { transition: transform .2s; }
.wg-sec-head__link:hover { color: var(--wg-teal-dark); }
.wg-sec-head__link:hover .wg-i { transform: translateX(4px); }

/* Mobil hızlı iletişim çubuğu (WPCode Mobil_Arama) ürün detayda gizlenir; PDP kendi çubuğunu gösterir */
body.wg-pdp-page .wg-mbar { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .wg-btn, .wg-float__btn, .wg-sec-head__link .wg-i { transition: none !important; }
  .wg-btn:hover, .wg-float__btn:hover { transform: none !important; }
}
