:root {
  --tp-navy: #071b3d;
  --tp-blue: #0b63f3;
  --tp-blue-dark: #084aa8;
  --tp-coral: #ff5a3d;
  --tp-amber: #ffb000;
  --tp-green: #169b62;
  --tp-ink: #0f172a;
  --tp-muted: #5f6c80;
  --tp-line: #dbe3ef;
  --tp-soft: #f4f7fb;
  --tp-white: #fff;
  --tp-radius: 16px;
  --tp-shadow: 0 16px 45px rgba(7, 27, 61, .10);
}

/* V68 — Tawk.to sağ altta, mevcut WhatsApp kısayolu sol altta kalır. */
@media(min-width:701px){
  .floating.wa{left:20px!important;right:auto!important}
}
@media(max-width:900px){
  .tp-mobile-bar{right:78px!important;border-top-right-radius:16px}
}

* { box-sizing: border-box; }
html { scroll-padding-top: 132px; }
body { color: var(--tp-ink); background: var(--tp-white); }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(11, 99, 243, .28) !important;
  outline-offset: 3px;
}

.tp-skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 20000;
  padding: 11px 15px;
  border-radius: 10px;
  background: var(--tp-navy);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.tp-skip-link:focus { top: 12px; }

/* Daha sakin, daha kurumsal başlık alanı */
.ref-header {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  box-shadow: 0 8px 28px rgba(7, 27, 61, .08);
}
.ref-top { display: none !important; }
.ref-main .container { min-height: 76px !important; height: 76px !important; }
.ref-logo img {
  width: 184px !important;
  height: 64px !important;
  object-fit: contain !important;
  filter: none !important;
}
.ref-search { height: 46px !important; border-radius: 12px !important; box-shadow: none !important; }
.ref-search input { font-size: 14px !important; }
.ref-search button { width: 54px !important; font-size: 19px !important; cursor: pointer; }
.ref-wa { min-height: 44px; border-radius: 12px !important; }
.ref-nav { box-shadow: none !important; }
.ref-nav .container { min-height: 48px !important; height: 48px !important; }
.ref-nav nav a { font-size: 11px !important; }
.ref-list { min-height: 38px !important; box-shadow: none !important; }

/* Dikkat dağıtan eski eklentiler */
.v55-side-ad,
.v56-monkey,
.v55-mobile-bar,
.v50-print-preview,
.v50-print-open,
.v50-preview-fab,
button[aria-label="Tıklayınca kaçan küçük maymun"] { display: none !important; }

.v46-alert-strip { height: 42px !important; }
.v46-step-track { height: 42px !important; }
.v46-step { font-size: 11px !important; }

/* Ana sayfa */
.v39-campaign { min-height: 470px !important; height: 470px !important; }
.v39-slide .container { min-height: 470px !important; }
.v39-slide-copy { max-width: 700px !important; }
.v39-slide h1, .v39-slide h2 {
  max-width: 660px;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}
.v39-slide p { max-width: 700px; font-size: 17px !important; line-height: 1.65 !important; }
.v47-trust-quick { border-top: 0 !important; }

.catalog-tools, .v40-brand-quick, .catalog-card, .product-detail-image, .product-detail-info {
  border-color: var(--tp-line) !important;
}
.catalog-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: #b8c9df !important;
  box-shadow: 0 18px 42px rgba(7, 27, 61, .10) !important;
}
.catalog-body h3 { letter-spacing: -.02em; }
.quote-add { min-height: 42px; }

/* Ürün detayında satış eylemi ilk ekranda */
.product-page { padding-top: 28px !important; }
.product-detail-grid { gap: 30px !important; }
.product-detail-info h1 { font-size: clamp(30px, 4vw, 48px) !important; }
.product-detail-info .product-description { margin-bottom: 16px; }
.tp-primary-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
  margin: 18px 0 14px;
  padding: 16px;
  border: 1px solid #cad9ef;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4f8ff, #fff);
}
.tp-primary-actions .tp-add,
.tp-primary-actions .tp-wa {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}
.tp-primary-actions .tp-add { background: var(--tp-blue); color: #fff; }
.tp-primary-actions .tp-add:hover { background: var(--tp-blue-dark); }
.tp-primary-actions .tp-wa { background: var(--tp-green); color: #fff; }
.tp-primary-actions small {
  grid-column: 1 / -1;
  color: var(--tp-muted);
  font-size: 11px;
  line-height: 1.55;
}
.product-quote-box { margin-top: 18px !important; }

/* Teklif çekmecesi */
.quote-list-wrap { z-index: 12000 !important; }
.quote-list-drawer { width: min(500px, 100vw) !important; }
.quote-list-form { background: #f7f9fc !important; }
.quote-list-actions button { min-height: 46px; }
.quote-list-item { border-bottom-color: #e4eaf2 !important; }
.quote-form-pot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Mobil teklif çubuğu */
.tp-mobile-bar { display: none; }

/* Çerez tercihi */
.tp-cookie {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 15000;
  width: min(520px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid #cfd9e8;
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(7, 27, 61, .22);
}
.tp-cookie[hidden] { display: none !important; }
.tp-cookie strong { display: block; margin-bottom: 6px; font-size: 17px; }
.tp-cookie p { margin: 0; color: var(--tp-muted); font-size: 12px; line-height: 1.6; }
.tp-cookie a { color: var(--tp-blue-dark); font-weight: 750; }
.tp-cookie-actions { display: flex; gap: 8px; margin-top: 13px; }
.tp-cookie-actions button {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid #cdd7e5;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}
.tp-cookie-actions .accept { border-color: var(--tp-blue); background: var(--tp-blue); color: #fff; }

/* Kurumsal ve hukuki sayfalar */
.tp-page-hero {
  padding: 66px 0 54px;
  background: linear-gradient(135deg, #f4f7fb, #fff 62%);
  border-bottom: 1px solid var(--tp-line);
}
.tp-page-hero .container { max-width: 980px; }
.tp-page-hero .eyebrow { color: var(--tp-blue-dark); }
.tp-page-hero h1 { margin: 10px 0 16px; font-size: clamp(40px, 6vw, 66px); line-height: 1.03; letter-spacing: -.05em; }
.tp-page-hero p { max-width: 800px; margin: 0; color: var(--tp-muted); font-size: 18px; line-height: 1.75; }
.tp-content { padding: 56px 0 80px; }
.tp-content .container { max-width: 980px; }
.tp-content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 42px; }
.tp-info-card { padding: 24px; border: 1px solid var(--tp-line); border-radius: 16px; background: #fff; }
.tp-info-card h2, .tp-info-card h3 { margin-top: 0; }
.tp-info-card p { margin-bottom: 0; color: var(--tp-muted); line-height: 1.75; }
.tp-legal { padding: 30px; border: 1px solid var(--tp-line); border-radius: 20px; background: var(--tp-soft); }
.tp-legal h2 { margin: 34px 0 10px; color: var(--tp-navy); font-size: 23px; }
.tp-legal h2:first-child { margin-top: 0; }
.tp-legal h3 { margin: 22px 0 8px; }
.tp-legal p, .tp-legal li { color: #46546a; line-height: 1.8; }
.tp-legal table { width: 100%; border-collapse: collapse; background: #fff; }
.tp-legal th, .tp-legal td { padding: 12px; border: 1px solid var(--tp-line); text-align: left; vertical-align: top; }
.tp-legal th { background: #eaf1fb; }

/* Yeni kurumsal footer */
.tp-footer { margin-top: 0; background: var(--tp-navy); color: #e7eef8; }
.tp-footer-trust { border-bottom: 1px solid rgba(255,255,255,.11); }
.tp-footer-trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.tp-footer-trust div { padding: 17px 14px; border-right: 1px solid rgba(255,255,255,.11); }
.tp-footer-trust div:last-child { border: 0; }
.tp-footer-trust strong, .tp-footer-trust small { display: block; }
.tp-footer-trust strong { font-size: 12px; color: #fff; }
.tp-footer-trust small { margin-top: 4px; color: #b9c7da; font-size: 10px; }
.tp-footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding: 44px 0 38px; }
.tp-footer h2, .tp-footer h3 { color: #fff; }
.tp-footer h2 { margin: 0 0 12px; font-size: 21px; }
.tp-footer h3 { margin: 0 0 13px; font-size: 13px; }
.tp-footer p { color: #b9c7da; font-size: 12px; line-height: 1.75; }
.tp-footer a, .tp-footer button.tp-cookie-settings {
  display: block;
  margin: 8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #cbd6e6;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.tp-footer a:hover, .tp-footer button.tp-cookie-settings:hover { color: #fff; }
.tp-footer-copy { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.10); color: #91a4be; font-size: 10px; text-align: center; }

@media (max-width: 1100px) {
  .ref-main .container { grid-template-columns: 180px minmax(220px, 1fr) 160px 124px !important; }
  .ref-account { display: none !important; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 110px; }
  body { padding-bottom: 76px !important; }
  .ref-main .container { grid-template-columns: 160px 1fr 110px !important; }
  .ref-contact, .ref-account { display: none !important; }
  .ref-logo img { width: 150px !important; }
  .ref-list { display: none !important; }
  .v39-campaign, .v39-slide .container { min-height: 430px !important; height: 430px !important; }
  .tp-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11000;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(7, 27, 61, .97);
    box-shadow: 0 -10px 30px rgba(7, 27, 61, .18);
  }
  .tp-mobile-bar button, .tp-mobile-bar a {
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    text-decoration: none;
    font-weight: 850;
    cursor: pointer;
  }
  .tp-mobile-bar button { background: var(--tp-amber); color: #17213a; }
  .tp-mobile-bar a { min-width: 52px; background: var(--tp-green); color: #fff; }
  .tp-footer-main { grid-template-columns: 1fr 1fr; }
  .tp-footer-trust .container { grid-template-columns: 1fr 1fr; }
  .tp-footer-trust div:nth-child(2) { border-right: 0; }
}

@media (max-width: 780px) {
  .ref-main .container { min-height: 108px !important; height: auto !important; padding: 8px 0 !important; }
  .ref-search { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  .ref-wa { grid-column: 3 !important; grid-row: 1 !important; }
  .ref-nav .container { min-height: 44px !important; height: 44px !important; }
  .ref-all { display: none !important; }
  .v46-alert-strip { display: none !important; }
  .v39-campaign, .v39-slide .container { min-height: 410px !important; height: 410px !important; }
  .v39-slide .container { align-items: end !important; padding-bottom: 38px !important; }
  .v39-slide h1, .v39-slide h2 { font-size: 35px !important; }
  .tp-primary-actions { grid-template-columns: 1fr; }
  .tp-primary-actions small { grid-column: auto; }
  .product-detail-image { padding: 18px !important; }
  .product-detail-info { padding: 22px !important; }
  .tp-content-grid { grid-template-columns: 1fr; }
  .tp-legal { padding: 20px; }
  .tp-legal table { display: block; overflow-x: auto; }
}

@media (max-width: 560px) {
  .ref-main .container { grid-template-columns: minmax(0, 1fr) 96px !important; }
  .ref-logo img { width: 145px !important; }
  .ref-wa { grid-column: 2 !important; }
  .v39-campaign, .v39-slide .container { min-height: 390px !important; height: 390px !important; }
  .v39-slide h1, .v39-slide h2 { font-size: 32px !important; }
  .v39-slide p { font-size: 14px !important; }
  .tp-footer-main { grid-template-columns: 1fr; padding: 34px 0; }
  .tp-footer-trust .container { grid-template-columns: 1fr; }
  .tp-footer-trust div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .tp-cookie-actions { flex-direction: column; }
  .tp-cookie-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
