/*
 * BEF Agency — Saas site kabugu (2026-12-03)
 * Header, ana sayfa, footer. Renkler: lacivert #081F5C butun bolgeleri tasir, kirmizi #E01920 yalnizca sinyal.
 * Imza: teknik cizimlerdeki olcu cizgisi (.dim) — uclari centikli ince cizgi, ortasinda olcu etiketi.
 * Basliklar: Archivo (fonts.bunny.net), govde: DM Sans (sablon).
 */
:root {
  --sx-display: "Archivo", "DM Sans", system-ui, sans-serif;
  --sh-h: 78px;
}

h1, h2, h3, h4, .lh-title, .pd-title, .pd-h2, .hs-title, .bef-page-title, .pc-title {
  font-family: var(--sx-display);
}
/* Not: html'e scroll-padding verilmez; yapiskan header'daki arama kutusuna yazarken sayfa kayiyordu */
:target, [id] { scroll-margin-top: calc(var(--sh-h) + 16px); }
.sh :target, .sh [id], .sh-drawer [id] { scroll-margin-top: 0; }
body.sh-lock { overflow: hidden; }
.sh-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#main-content { outline: none; }

/* ---------------- Olcu cizgisi ---------------- */
.dim {
  --dim-bg: #fff;
  position: relative; display: flex; align-items: center; justify-content: center; height: 22px; color: var(--sx-line-2);
  background:
    linear-gradient(currentColor, currentColor) left center / 1px 14px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 1px 14px no-repeat;
}
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; transform-origin: left center; }
.dim span {
  position: relative; padding: 0 14px; background: var(--dim-bg);
  font: 600 12px/1 var(--sx-display); letter-spacing: .09em; text-transform: uppercase; color: var(--sx-ink-2); font-variant-numeric: tabular-nums;
}
.dim--light { color: rgba(255, 255, 255, .45); --dim-bg: var(--sx-navy); }
.dim--light span { color: rgba(255, 255, 255, .88); }

/* ---------------- Header: bilgi seridi ---------------- */
.sh-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--sx-navy); font-weight: 600; }
.sh-skip:focus { top: 10px; }
.sh-util { background: var(--sx-navy); color: rgba(255, 255, 255, .86); font-size: 13px; }
.sh-util-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.sh-util-loc { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.sh-util-end { display: flex; align-items: center; gap: 22px; }
.sh-util-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .9); text-decoration: none; font-variant-numeric: tabular-nums; }
.sh-util-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sh-lang { display: flex; align-items: center; gap: 2px; }
.sh-lang a {
  position: relative; display: inline-grid; place-items: center; min-width: 32px; height: 30px; padding: 0 6px;
  font: 600 12.5px/1 var(--sx-display); letter-spacing: .06em; color: rgba(255, 255, 255, .78); text-decoration: none; border-radius: 6px;
}
.sh-lang a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.sh-lang a.is-current { color: #fff; }
.sh-lang a.is-current::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; background: var(--sx-red); border-radius: 2px; }
.sh-util a:focus-visible, .sh a:focus-visible, .sh button:focus-visible, .sh input:focus-visible, .sh-drawer a:focus-visible, .sh-drawer button:focus-visible, .sf a:focus-visible {
  outline: 2px solid var(--sx-red); outline-offset: 2px;
}

/* ---------------- Header: ana cubuk ---------------- */
.sh { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--sx-line); transition: box-shadow .3s var(--sx-ease); }
.sh.is-scrolled { box-shadow: 0 10px 30px -22px rgba(8, 31, 92, .55); }
.sh-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 28px; height: var(--sh-h); }
.sh-burger { display: none; }
.sh-logo { display: inline-flex; align-items: center; }
.sh-logo img, .sh-logo svg { width: 150px; height: auto; display: block; }
.sh-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sh-nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: var(--sh-h); padding: 0 12px;
  font: 600 15.5px/1 var(--sx-display); color: var(--sx-ink); text-decoration: none;
}
.sh-nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--sx-navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sx-ease); }
.sh-nav-link:hover, .sh-nav-link.is-active, .sh-has-panel.is-open > .sh-nav-link { color: var(--sx-navy); }
.sh-nav-link:hover::after, .sh-has-panel.is-open > .sh-nav-link::after { transform: scaleX(1); }
.sh-nav-link.is-active::after { transform: scaleX(1); background: var(--sx-red); }
.sh-nav-link .bef-ico { transition: transform .3s var(--sx-ease); }
.sh-has-panel.is-open > .sh-nav-link .bef-ico { transform: rotate(180deg); }

/* Urunler paneli */
.sh-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sx-line);
  box-shadow: 0 28px 48px -32px rgba(8, 31, 92, .45); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--sx-ease), transform .35s var(--sx-ease), visibility 0s linear .25s;
}
.sh-has-panel.is-open .sh-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sh-panel-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 30px 12px 34px; }
.sh-panel-title { margin: 0 0 8px; font: 700 20px/1.2 var(--sx-display); color: var(--sx-navy); }
.sh-panel-text { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--sx-ink-2); }
.sh-panel-all, .sh-panel-pdf { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 14.5px; color: var(--sx-navy); text-decoration: none; }
.sh-panel-all:hover, .sh-panel-pdf:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.sh-panel-grid a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--sx-ink); text-decoration: none; transition: background .2s; }
.sh-panel-grid a:hover { background: var(--sx-steel); color: var(--sx-navy); }
.sh-panel-grid img { width: 28px; height: 28px; object-fit: contain; }
.sh-panel-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.sh-panel-count { font-size: 13px; color: var(--sx-ink-2); font-variant-numeric: tabular-nums; }

/* Arama + eylemler */
.sh-search { position: relative; display: flex; align-items: center; }
.sh-search input {
  width: 250px; height: 44px; padding: 0 44px 0 16px; border: 1px solid var(--sx-line); border-radius: 999px; background: var(--sx-steel);
  font-family: inherit; font-size: 14px; color: var(--sx-ink); transition: border-color .2s, background .2s, width .35s var(--sx-ease);
}
.sh-search input::placeholder { color: #64748B; }
.sh-search input:focus { outline: none; border-color: var(--sx-navy); background: #fff; width: 300px; }
.sh-search button { position: absolute; right: 4px; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--sx-navy); cursor: pointer; }
.sh-actions { display: flex; align-items: center; gap: 8px; }
.sh-icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--sx-navy); }
.sh-icon-btn:hover { background: var(--sx-steel); }
.sh-quote {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 16px;
  border-radius: 999px; background: var(--sx-navy); color: #fff; font: 600 14.5px/1 var(--sx-display); text-decoration: none; transition: background .2s;
}
.sh-quote:hover { background: var(--sx-navy-2); color: #fff; }
.sh-badge {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center;
  border-radius: 999px; background: var(--sx-red); color: #fff; font: 700 11px/1 var(--sx-display); box-shadow: 0 0 0 2px #fff; font-variant-numeric: tabular-nums;
}
.sh-quote .sh-badge { position: static; box-shadow: none; background: #fff; color: var(--sx-navy); margin-left: 2px; }

@media (max-width: 1399.98px) {
  .sh-row { gap: 18px; }
  .sh-search input { width: 200px; }
  .sh-search input:focus { width: 240px; }
  .sh-nav-link { padding: 0 9px; }
}
@media (max-width: 1199.98px) {
  :root { --sh-h: 64px; }
  .sh-row { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; }
  .sh-burger {
    display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  }
  .sh-burger span { display: block; height: 2px; border-radius: 2px; background: var(--sx-navy); }
  .sh-burger span:nth-child(2) { width: 70%; }
  .sh-logo { justify-self: center; }
  .sh-logo img, .sh-logo svg { width: 132px; }
  .sh-nav, .sh-search:not(.sh-search--drawer), .sh-hide-sm { display: none; }
  .sh-actions { justify-self: end; }
  .sh-quote { width: 44px; height: 44px; padding: 0; justify-content: center; background: none; color: var(--sx-navy); }
  .sh-quote:hover { background: var(--sx-steel); color: var(--sx-navy); }
  .sh-quote-label { display: none; }
  .sh-quote .sh-badge { position: absolute; top: 2px; right: 0; background: var(--sx-red); color: #fff; box-shadow: 0 0 0 2px #fff; margin: 0; }
}
@media (max-width: 767.98px) {
  .sh-util-loc { display: none; }
  .sh-util-row { justify-content: center; }
  .sh-util-end { width: 100%; justify-content: space-between; gap: 12px; }
}

/* Mobil menu */
.sh-drawer { position: fixed; inset: 0; z-index: 1500; }
.sh-drawer-scrim { position: absolute; inset: 0; background: rgba(8, 31, 92, .5); opacity: 0; transition: opacity .3s; }
.sh-drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(390px, 90vw); display: flex; flex-direction: column; gap: 18px;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto;
  transform: translateX(-104%); transition: transform .38s var(--sx-ease); box-shadow: 20px 0 60px -30px rgba(8, 31, 92, .6);
}
.sh-drawer.is-open .sh-drawer-scrim { opacity: 1; }
.sh-drawer.is-open .sh-drawer-panel { transform: none; }
.sh-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.sh-drawer-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--sx-steel); color: var(--sx-navy); cursor: pointer; }
.sh-search--drawer input { width: 100%; }
.sh-search--drawer input:focus { width: 100%; }
.sh-drawer-label { margin: 4px 0 6px; font: 600 12px/1 var(--sx-display); letter-spacing: .08em; text-transform: uppercase; color: var(--sx-ink-2); }
.sh-drawer-cats, .sh-drawer-links { list-style: none; margin: 0; padding: 0; }
.sh-drawer-cats a, .sh-drawer-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 4px;
  border-bottom: 1px solid var(--sx-line); color: var(--sx-ink); text-decoration: none; font-size: 15.5px;
}
.sh-drawer-cats a span:first-child { font-weight: 500; }
.sh-drawer-links { margin-top: 14px; }
.sh-drawer-links a { font: 600 16px/1.2 var(--sx-display); }
.sh-drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.sh-drawer-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sx-navy); text-decoration: none; }
.sh-lang--drawer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sh-lang--drawer a { height: 44px; border: 1px solid var(--sx-line-2); border-radius: 10px; color: var(--sx-ink); font: 600 14px/1 var(--sx-display); letter-spacing: 0; }
.sh-lang--drawer a:hover { background: var(--sx-steel); color: var(--sx-navy); }
.sh-lang--drawer a.is-current { background: var(--sx-navy); border-color: var(--sx-navy); color: #fff; }
.sh-lang--drawer a.is-current::after { display: none; }

/* ---------------- Ana sayfa: bolumler ---------------- */
.hs { padding: 92px 0; }
.hs--steel { background: var(--sx-steel); }
.hs--steel .dim { --dim-bg: var(--sx-steel); }
.hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.hs-title { margin: 0; font: 700 clamp(26px, 2.6vw, 40px)/1.12 var(--sx-display); letter-spacing: -.022em; color: var(--sx-navy); text-wrap: balance; }
.hs-text { max-width: 60ch; margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--sx-ink-2); }
.hs-link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sx-display); color: var(--sx-navy); text-decoration: none; white-space: nowrap; }
.hs-link .bef-ico { transition: transform .3s var(--sx-ease); }
.hs-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hs-link:hover .bef-ico { transform: translateX(3px); }
@media (max-width: 767.98px) { .hs { padding: 60px 0; } .hs-head { margin-bottom: 22px; } }

/* Teklif sureci */
.px { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 40px 0 0; padding: 0; }
.px-step { position: relative; }
.px-step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 64px; right: -20px; border-top: 1px solid var(--sx-line-2);
  background: none;
}
.px-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; border: 1.5px solid var(--sx-navy); background: #fff; font: 700 18px/1 var(--sx-display); color: var(--sx-navy); }
.px-title { margin: 0 0 8px; font: 700 21px/1.2 var(--sx-display); color: var(--sx-ink); }
.px-text { max-width: 34ch; margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--sx-ink-2); }
.px-cta { margin-top: 40px; }
@media (max-width: 767.98px) {
  .px { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .px-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .px-num { grid-row: span 2; margin: 0; }
  .px-step:not(:last-child)::after { top: 56px; bottom: -22px; left: 24px; right: auto; border-top: 0; border-left: 1px solid var(--sx-line-2); }
}

/* Hakkimizda + degerler */
.ab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.ab-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; display: block; }
.ab-copy p { max-width: 62ch; margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: var(--sx-ink-2); }
.ab-copy .hs-link { margin-top: 22px; }
.vx { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding-top: 30px; border-top: 1px solid var(--sx-line); }
.vx dt { margin: 0 0 6px; font: 700 17px/1.2 var(--sx-display); color: var(--sx-navy); }
.vx dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--sx-ink-2); }
@media (max-width: 991.98px) {
  .ab { grid-template-columns: 1fr; gap: 28px; }
  .vx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Blog */
.bx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.bx-item { display: flex; flex-direction: column; gap: 10px; color: var(--sx-ink); text-decoration: none; }
.bx-img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 3 / 2; background: var(--sx-line); }
.bx-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sx-ease); }
.bx-item:hover .bx-img img { transform: scale(1.04); }
.bx-date { margin-top: 4px; font-size: 13px; color: var(--sx-ink-2); }
.bx-title { font: 600 19px/1.32 var(--sx-display); letter-spacing: -.01em; text-wrap: balance; }
.bx-item:hover .bx-title { color: var(--sx-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 991.98px) { .bx { grid-template-columns: 1fr; gap: 26px; } .bx-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 16px; } .bx-img { grid-row: span 2; aspect-ratio: 4 / 3; } .bx-title { font-size: 17px; } }

/* ---------------- Footer ---------------- */
.sf { position: relative; color: rgba(255, 255, 255, .8); }
.sf-cta { position: relative; background: #fff; padding: 56px 0; border-top: 1px solid var(--sx-line); }
.sf-cta::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 3px; background: var(--sx-red); }
.sf-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.sf-cta-title { margin: 0 0 8px; font: 700 clamp(24px, 2.5vw, 36px)/1.15 var(--sx-display); letter-spacing: -.02em; color: var(--sx-navy); }
.sf-cta-text { max-width: 52ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--sx-ink-2); }
.sf-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-main { background: var(--sx-navy); padding: 44px 0 56px; }
.sf-dim { margin-bottom: 44px; }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 40px; }
.sf-brand img { width: 168px; height: auto; display: block; }
.sf-brand p { max-width: 40ch; margin: 18px 0 20px; font-size: 14.5px; line-height: 1.65; }
.sf-social { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.sf-social:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-h { margin: 0 0 16px; font: 700 16px/1.2 var(--sx-display); color: #fff; }
.sf-col ul { list-style: none; margin: 0; padding: 0; }
.sf-col li + li { margin-top: 10px; }
.sf-col a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.sf-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sf-address { font-style: normal; font-size: 14.5px; line-height: 1.6; }
.sf-address p { margin: 0 0 10px; }
.sf-muted { color: rgba(255, 255, 255, .7); }
.sf-pdf { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 12px; color: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.sf-pdf:hover { border-color: #fff; background: rgba(255, 255, 255, .05); color: #fff; }
.sf-pdf span { display: flex; flex-direction: column; gap: 3px; }
.sf-pdf strong { font: 600 15px/1.2 var(--sx-display); }
.sf-pdf small { font-size: 13px; color: rgba(255, 255, 255, .72); }
.sf-bottom { background: var(--sx-steel); color: var(--sx-ink); }
.sf-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
.sf-copy { margin: 0; font-size: 14px; color: var(--sx-ink-2); }
.sf-langs { display: flex; gap: 4px; flex-wrap: wrap; }
.sf-langs a { padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--sx-ink-2); text-decoration: none; }
.sf-langs a:hover { background: #fff; color: var(--sx-navy); }
.sf-langs a[aria-current] { color: var(--sx-navy); font-weight: 700; }
.sf-bottom .bef-credit { color: var(--sx-ink-2); }
.sf-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 950; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sx-navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(8, 31, 92, .8);
}
.sf-top .bef-ico { transform: rotate(180deg); }
.sf-top:hover { background: var(--sx-navy-2); color: #fff; }
body.has-sticky-cta .sf-top { bottom: 84px; }
@media (max-width: 1199.98px) { .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .sf-cta { padding: 44px 0; }
  .sf-cta-actions .sx-btn { flex: 1 1 100%; }
  .sf-grid { grid-template-columns: 1fr; gap: 32px; }
  .sf-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* Sablondan kalan eski header/sidebar ogeleri artik kullanilmiyor */
.topbar, .header.sticky-bar, .sidebar-left, .mobile-header-active, #scrollUp { display: none !important; }

/* Duzeltmeler: kucuk resimler kutuya sigsin; urunler paneli header boyunca acilsin */
.ql-thumb { overflow: hidden; }
.ql-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sh-row { position: static; }

/* ---------------- Header: kategori seridi ---------------- */
.sh-util-start { display: flex; align-items: center; gap: 22px; min-width: 0; }
.sh-cats { position: relative; background: #fff; border-bottom: 1px solid var(--sx-line); }
.sh-cats ul { display: flex; align-items: center; gap: 4px; margin: 0 -14px; padding: 0; list-style: none; overflow: hidden; }
.sh-cats li { flex: none; }
.sh-cats li[hidden] { display: none; }
.sh-cats a {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px;
  font: 500 14px/1 var(--sx-display); color: var(--sx-ink-2); text-decoration: none; white-space: nowrap; transition: color .2s;
}
.sh-cats a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--sx-navy); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sx-ease); }
.sh-cats a:hover, .sh-cats a.is-current { color: var(--sx-navy); }
.sh-cats a:hover::after { transform: scaleX(1); }
.sh-cats a.is-current { font-weight: 600; }
.sh-cats a.is-current::after { transform: scaleX(1); background: var(--sx-red); }
.sh-cats-more { margin-left: auto; }
.sh-cats-more a { font-weight: 600; color: var(--sx-navy); }
.sh-cats a:focus-visible { outline: 2px solid var(--sx-red); outline-offset: -2px; }
@media (max-width: 1199.98px) {
  .sh-cats ul { margin: 0 -12px 0 -10px; padding-right: 28px; overflow-x: auto; scrollbar-width: none; }
  .sh-cats ul::-webkit-scrollbar { display: none; }
  .sh-cats::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
  .sh-cats a { height: 44px; padding: 0 10px; font-size: 13.5px; }
  .sh-cats a::after { left: 10px; right: 10px; }
  .sh-cats-more { margin-left: 0; }
}
@media (max-width: 991.98px) { .sh-hide-md { display: none; } }

/* Mobil: teklif listesi menu ikonundan ayirt edilsin (pano ikonu + "Teklif" yazili kapsul) */
.sh-quote-short { display: none; }
@media (max-width: 1199.98px) {
  .sh-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .sh-burger { justify-self: start; }
  .sh-quote {
    width: auto; height: 40px; padding: 0 12px 0 10px; gap: 6px; border: 1.5px solid var(--sx-navy); border-radius: 999px;
    background: #fff; color: var(--sx-navy); font: 600 13.5px/1 var(--sx-display);
  }
  .sh-quote:hover { background: var(--sx-steel); }
  .sh-quote-short { display: inline; }
  .sh-quote .sh-badge { position: static; min-width: 20px; height: 20px; margin: 0 0 0 2px; box-shadow: none; background: var(--sx-red); color: #fff; }
  .sh-quote .sh-badge:empty, .sh-quote .sh-badge[data-zero] { display: none; }
}
@media (max-width: 419.98px) { .sh-quote-short { display: none; } .sh-quote { padding: 0 8px 0 9px; } }
@media (max-width: 359.98px) { .sh-logo img, .sh-logo svg { width: 116px; } }

/* Mobil header dengesi: iki uc ayni agirlikta (40px, ayni cerceve), logo aradaki bosluk icinde ortalanir */
@media (max-width: 1199.98px) {
  .sh-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .sh-burger { width: 40px; height: 40px; padding: 0 11px; gap: 4px; border: 1.5px solid var(--sx-line-2); border-radius: 999px; }
  .sh-burger:hover { border-color: var(--sx-navy); }
  .sh-burger span:nth-child(2) { width: 100%; }
  .sh-logo { justify-self: center; }
  .sh-quote { border-color: var(--sx-line-2); }
  .sh-quote:hover { border-color: var(--sx-navy); }
}

/* ---------------- Footer v2: lacivert blok yerine celik zemin (daha az mavi) ---------------- */
.sf { color: var(--sx-ink-2); }
.sf-main { position: relative; background: var(--sx-steel); border-top: 1px solid var(--sx-line); }
.sf-dim { --dim-bg: var(--sx-steel); color: var(--sx-line-2); }
.sf-dim span { color: var(--sx-ink-2); }
.sf-social, .sf-social:hover { color: var(--sx-navy); }
.sf-h { color: var(--sx-navy); }
.sf-col a { color: var(--sx-ink); }
.sf-col a:hover { color: var(--sx-navy); }
.sf-muted { color: var(--sx-ink-2); }
.sf-address a { color: var(--sx-ink); }
.sf-pdf { border-color: var(--sx-line-2); background: #fff; color: var(--sx-navy); }
.sf-pdf:hover { border-color: var(--sx-navy); background: #fff; color: var(--sx-navy); }
.sf-pdf small { color: var(--sx-ink-2); }
.sf-bottom { background: #fff; border-top: 1px solid var(--sx-line); }
.sf-langs a:hover { background: var(--sx-steel); }
@media (max-width: 575.98px) {
  .sf-main { padding: 36px 0 40px; }
  .sf-dim { margin-bottom: 30px; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .sf-brand, .sf-grid > .sf-col:last-child { grid-column: 1 / -1; }
  .sf-col li + li { margin-top: 8px; }
  .sf-col a { font-size: 14px; }
}

/* ---------------- Ana sayfa hero: baslik + arama, altinda urun gruplari vitrini ----------------
   Gruplar urun sayisina gore: ilki buyuk (2x2), sonraki dordu orta, kalanlar kucuk yatay kutu.
   Gorseller beyaz zeminli kirpilmis urun fotograflari; kutular beyaz, vurgu kirmizi ok. */
.hx { background: #fff; padding: 52px 0 64px; border-bottom: 1px solid var(--sx-line); }
.hx-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: 36px; }
.hx-title { margin: 0; max-width: 17ch; font: 800 clamp(34px, 4vw, 58px)/1.02 var(--sx-display); letter-spacing: -.03em; color: var(--sx-navy); text-wrap: balance; hyphens: auto; }
.hx-lead { margin: 0 0 20px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--sx-ink-2); }
.hx-search {
  display: flex; align-items: center; gap: 10px; height: 62px; padding: 6px 6px 6px 18px;
  border: 1.5px solid var(--sx-line-2); border-radius: 14px; background: #fff; color: var(--sx-ink-2); transition: border-color .2s, box-shadow .2s;
}
.hx-search:focus-within { border-color: var(--sx-navy); box-shadow: 0 0 0 4px rgba(8, 31, 92, .08); }
.hx-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: 500 16px/1 inherit; font-family: inherit; color: var(--sx-ink); outline: none; }
.hx-search input::placeholder { color: #6B7A99; }
.hx-search .sx-btn { flex: none; height: 48px; padding: 0 24px; border-radius: 10px; }
.hx-search .sx-btn:focus-visible { outline: 2px solid var(--sx-red); outline-offset: 3px; }
.hx-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 16px 0 0; font-size: 14px; color: var(--sx-ink-2); }
.hx-facts strong { font-weight: 700; color: var(--sx-navy); }
.hx-facts a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sx-navy); text-decoration: underline; text-decoration-color: var(--sx-line-2); text-underline-offset: 4px; }
.hx-facts a:hover { text-decoration-color: currentColor; }

.hb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hb--lg { grid-column: span 2; grid-row: span 2; }
.hb a {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 20px 20px 22px;
  border: 1px solid var(--sx-line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; overflow: hidden;
  transition: border-color .2s, box-shadow .3s var(--sx-ease);
}
.hb a:hover { border-color: var(--sx-line-2); box-shadow: 0 24px 44px -30px rgba(8, 31, 92, .4); }
.hb a:focus-visible { outline: 2px solid var(--sx-red); outline-offset: 3px; }
.hb-media { display: flex; align-items: flex-end; justify-content: center; gap: 7%; height: 176px; }
.hb-media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: 50% 100%; transition: transform .5s var(--sx-ease); }
.hb a:hover .hb-media img { transform: scale(1.04); }
.hb-text { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding-right: 62px; }
.hb-name { font: 700 18px/1.25 var(--sx-display); letter-spacing: -.01em; color: var(--sx-navy); text-wrap: balance; }
.hb-count { font-size: 13.5px; color: var(--sx-ink-2); font-variant-numeric: tabular-nums; }
.hb-go {
  position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--sx-line-2); border-radius: 50%; color: var(--sx-navy); transition: background .2s, border-color .2s, color .2s;
}
.hb a:hover .hb-go { background: var(--sx-red); border-color: var(--sx-red); color: #fff; }

/* Buyuk kutu: urunler ayni olcekte yan yana (flex-grow = gorunen genislik), metin buyuk */
.hb--lg a { padding: 28px 28px 30px; }
.hb--lg .hb-media { flex: 1; height: auto; min-height: 300px; padding: 0 3%; }
.hb--lg .hb-media img { flex-basis: 0; min-width: 0; max-height: none; width: 0; }
.hb--lg .hb-text { margin-top: 24px; padding-right: 64px; }
.hb--lg .hb-name { font-size: clamp(24px, 2.3vw, 34px); }
.hb--lg .hb-count { font-size: 15px; }
.hb--lg .hb-go { right: 26px; bottom: 28px; width: 52px; height: 52px; border-color: var(--sx-red); background: var(--sx-red); color: #fff; }
.hb--lg a:hover .hb-go { background: #C4141B; border-color: #C4141B; }

/* Kucuk kutular: yatay, kompakt */
.hb--sm a { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; }
.hb--sm .hb-media { flex: none; width: 76px; height: 64px; }
.hb--sm .hb-text { margin: 0; padding-right: 40px; }
.hb--sm .hb-name { font-size: 15px; }
.hb--sm .hb-count { font-size: 12.5px; }
.hb--sm .hb-go { top: 50%; bottom: auto; right: 14px; width: 32px; height: 32px; margin-top: -16px; }

@media (max-width: 1199.98px) {
  .hx-top { gap: 24px 48px; }
  .hb-media { height: 150px; }
  .hb-name { font-size: 16.5px; }
  .hb--sm { grid-column: span 2; }
}
@media (max-width: 991.98px) {
  .hx { padding: 40px 0 48px; }
  .hx-top { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
  .hx-title { max-width: 16ch; }
  .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hb--lg { grid-row: auto; }
  .hb--sm { grid-column: auto; }
  .hb--lg .hb-media { min-height: 240px; padding: 0 14%; }
}
@media (max-width: 575.98px) {
  .hx { padding: 26px 0 32px; }
  .hx-top { gap: 18px; margin-bottom: 20px; }
  .hx-title { font-size: clamp(30px, 8.4vw, 36px); max-width: none; }
  .hx-lead { display: none; }
  .hx-search { height: 56px; padding-left: 14px; }
  .hx-search .sx-btn { height: 44px; padding: 0 16px; }
  .hx-search input { font-size: 15px; }
  .hx-facts { gap: 6px 16px; margin-top: 12px; font-size: 13px; }
  .hb-grid { gap: 10px; }
  .hb a { padding: 14px 14px 16px; border-radius: 14px; }
  .hb-media { height: 104px; }
  .hb-text { margin-top: 12px; padding-right: 0; }
  .hb-name { font-size: 15px; }
  .hb-count { font-size: 12.5px; }
  .hb-go { display: none; }
  .hb--lg a { padding: 18px 18px 20px; }
  .hb--lg .hb-media { min-height: 190px; padding: 0 8%; }
  .hb--lg .hb-text { margin-top: 16px; padding-right: 50px; }
  .hb--lg .hb-name { font-size: 22px; }
  .hb--lg .hb-go { display: grid; right: 18px; bottom: 20px; width: 42px; height: 42px; }
  .hb--sm { grid-column: 1 / -1; }
  .hb--sm a { padding: 10px 14px 10px 10px; }
  .hb--sm .hb-media { width: 64px; height: 52px; }
  .hb--sm .hb-text { padding-right: 36px; }
  .hb--sm .hb-go { display: grid; right: 12px; }
}
@media (max-width: 419.98px) {
  .hx-search .sx-btn { width: 44px; padding: 0; font-size: 0; }
  .hx-search .sx-btn::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
}
