/* Manrope — 400 / 600 / 700 (latin + latin-ext) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Manrope', system-ui, sans-serif;
  --red: #E32626;
  --red-dark: #c41e1e;
  --red-glow: rgba(227, 38, 38, .35);
  --black: #111111;
  --ink: #0c0c0c;
  --text: #2a2a2a;
  --muted: #666;
  --border: #e8e8e8;
  --line: rgba(0,0,0,.08);
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --cream: #f6f5f2;
  --container: 1320px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
body.nav-open { overflow: hidden; }

/* Görsel olarak gizli, ekran okuyucu ve arama motoru için erişilebilir */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .65rem 1rem;
  background: var(--red);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1600px) { :root { --container: 1440px; } }

/* Top bar */
.topbar {
  background: var(--black);
  color: #ccc;
  font-size: .8125rem;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: .5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.topbar-left, .topbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.topbar a:hover { color: #fff; }
.topbar .ekatalog {
  color: var(--red);
  font-weight: 600;
}
.topbar .ekatalog:hover { color: #ff5555; }

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img { height: 34px; width: auto; display: block; }

.nav { display: none; gap: .125rem; flex: 1; }
.nav > a, .nav-item > a {
  padding: .5rem .7rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  transition: color .15s;
}
.nav > a:hover, .nav-item > a:hover, .nav > a.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.search-box {
  display: none;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .45rem .75rem;
  min-width: 200px;
}
.search-box input { border: none; outline: none; font-size: .8125rem; width: 100%; font-family: inherit; }
.search-box:focus-within { border-color: var(--red); }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.menu-toggle { display: flex; }

@media (min-width: 992px) {
  .nav { display: flex; align-items: center; }
  .search-box { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.45);
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  width: min(300px, 88vw); height: 100%;
  background: #fff;
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav a {
  display: block;
  padding: .75rem 0;
  font-weight: 600;
  font-size: .875rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--red); }

.mobile-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-soft);
}
.mobile-search:focus-within { border-color: var(--red); }
.mobile-search input {
  border: none;
  outline: none;
  font-size: .8125rem;
  font-family: inherit;
  width: 100%;
  background: transparent;
}
.mobile-search svg { color: var(--muted); flex-shrink: 0; }

.mobile-nav-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.mobile-nav-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem .5rem;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.mobile-nav-contact-btn.phone:hover { border-color: var(--red); color: var(--red); }
.mobile-nav-contact-btn.wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.mobile-nav-contact-btn.wa:hover { background: #1ebe5d; border-color: #1ebe5d; color: #fff; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 180;
  padding: 1rem;
  background: rgba(17,17,17,.92);
  color: #fff;
  backdrop-filter: blur(8px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner p {
  flex: 1 1 280px;
  font-size: .8125rem;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.cookie-banner .btn-primary.small,
.cookie-banner .btn-ghost.small {
  padding: .5rem 1rem;
  font-size: .75rem;
}
.cookie-banner .btn-ghost.small {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.cookie-banner .btn-ghost.small:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

/* Breadcrumb */
.breadcrumb-bar {
  border-bottom: 1px solid var(--border);
  padding: .875rem 0;
  background: #fff;
}
.breadcrumb-bar .container {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .8125rem; color: var(--muted);
}
.breadcrumb-bar a:hover { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background .2s, transform .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #333; }

/* Product card (shared) */
.product-card {
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
  display: block;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.card-image {
  aspect-ratio: 1;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 1rem;
  overflow: hidden;
}
.card-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .card-image img { transform: scale(1.04); }
.card-image svg { width: 68%; max-height: 120px; opacity: .35; }
.badge-favori {
  position: absolute; top: 0; left: 0;
  background: var(--red); color: #fff;
  font-size: .625rem; font-weight: 700;
  padding: .3rem .55rem; letter-spacing: .05em;
  z-index: 2;
}
.badge-yeni {
  position: absolute; top: 0; right: 0;
  background: var(--black); color: #fff;
  font-size: .625rem; font-weight: 700;
  padding: .3rem .55rem; letter-spacing: .05em;
  z-index: 2;
}
.badge-sicak {
  position: absolute; top: 0; right: 0;
  background: var(--black); color: #fff;
  font-size: .625rem; font-weight: 700;
  padding: .3rem .55rem; letter-spacing: .05em;
  z-index: 2;
}
.card-title {
  padding: .875rem .75rem 1rem;
  font-size: .8125rem; font-weight: 600;
  text-align: center; line-height: 1.4;
}

/* Footer */
.footer {
  background: var(--black);
  color: #999;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1.5fr 1fr 1fr; } }
.footer-products-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
@media (max-width: 420px) {
  .footer-products-cols { grid-template-columns: 1fr; }
}
.footer h4 {
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer p { font-size: .8125rem; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .8125rem; }
.footer-links a:hover { color: var(--red); }
.footer-links .footer-static {
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
}
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid #444;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  color: #ccc;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.25rem;
  font-size: .75rem;
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .5rem;
}
.section-sub {
  font-size: .9375rem;
  color: var(--muted);
  max-width: 600px;
}

/* Form honeypot — tüm sayfalarda gizli */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Sabit yüzen butonlar */
:root {
  --float-size: 56px;
  --float-bottom: 1.25rem;
  --float-right: 1.25rem;
  --quote-float-size: 4.75rem;
}

.quote-float {
  position: fixed;
  top: 58%;
  right: var(--float-right);
  z-index: 90;
  width: var(--quote-float-size);
  height: var(--quote-float-size);
  border: none;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 32px var(--red-glow);
  transform: translateY(-50%);
  transition: transform .2s var(--ease), box-shadow .2s;
  animation: quote-float-pulse 2.8s ease-in-out infinite;
}
.quote-float:hover {
  transform: translateY(calc(-50% - 4px)) scale(1.05);
  box-shadow: 0 14px 36px rgba(227, 38, 38, .5);
  animation: none;
}
.quote-float-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  font-family: var(--font, 'Manrope', system-ui, sans-serif);
  font-size: .6875rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
}
@keyframes quote-float-pulse {
  0%, 100% { box-shadow: 0 10px 32px var(--red-glow); }
  50% { box-shadow: 0 12px 40px rgba(227, 38, 38, .5); }
}

.wa-float {
  position: fixed;
  right: var(--float-right);
  bottom: var(--float-bottom);
  z-index: 90;
  width: var(--float-size);
  height: var(--float-size);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37,211,102,.5);
}
@media (max-width: 767px) {
  :root {
    --float-size: 50px;
    --float-bottom: 1rem;
    --float-right: 1rem;
    --quote-float-size: 4.25rem;
  }
  .quote-float {
    top: 52%;
  }
  .quote-float-label {
    font-size: .625rem;
  }
}
body.has-cookie-banner .wa-float { bottom: 5.5rem; }
@media (max-width: 640px) {
  body.has-cookie-banner .wa-float { bottom: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-float { animation: none !important; }
}

/* Hızlı Teklif modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.quote-modal.open {
  display: flex;
}
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, .55);
  backdrop-filter: blur(4px);
}
.quote-modal-panel {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(92vh, 640px);
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #1a1d24 0%, #12141a 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.quote-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.quote-modal-close:hover { background: rgba(255, 255, 255, .14); }
.quote-modal-head { margin-bottom: 1rem; padding-right: 2rem; }
.quote-modal-head .label { margin-bottom: .4rem; }
.quote-modal-head h2 {
  font-family: var(--display, var(--font));
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  line-height: 1.25;
}
.quote-modal-head p {
  margin: 0;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
}
.quick-quote-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.quick-quote-feedback:empty,
.qq-msg { display: none; }
.qq-msg.show { display: block; }
.qq-msg--error {
  padding: .7rem .9rem;
  border-radius: 10px;
  background: rgba(227, 38, 38, .12);
  border: 1px solid rgba(227, 38, 38, .25);
  color: #fca5a5;
  font-size: .8125rem;
  font-weight: 600;
}
.qq-msg--success {
  padding: .7rem .9rem;
  border-radius: 10px;
  background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .25);
  color: #86efac;
  font-size: .8125rem;
  font-weight: 600;
}
.quick-quote-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.qq-field { display: flex; flex-direction: column; gap: .3rem; }
.qq-field--wide { grid-column: 1 / -1; }
.qq-field label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.qq-field input,
.qq-field select {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-family: inherit;
  font-size: .875rem;
}
.qq-field input:focus,
.qq-field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 38, 38, .18);
}
.qq-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.25rem;
}
.qq-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .85rem 1.25rem;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--red-glow);
}
.qq-submit:hover { filter: brightness(1.05); }
.qq-submit:disabled { opacity: .65; cursor: not-allowed; }
.qq-kvkk {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
  cursor: pointer;
}
.qq-kvkk input { margin-top: .15rem; accent-color: var(--red); }
.qq-kvkk a { color: rgba(255, 255, 255, .85); font-weight: 600; }
@media (max-width: 520px) {
  .quick-quote-panel { grid-template-columns: 1fr; }
  .qq-field--wide { grid-column: auto; }
}

/* ============================================================
   Mobil / responsive iyileştirmeleri (canlı öncesi)
   ============================================================ */

/* Yatay taşma güvenlik ağı */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }

/* iOS Safari: <16px input odaklanınca sayfayı zoom'lar.
   Tüm form alanlarını mobilde 16px'e sabitle. */
@media (max-width: 767px) {
  input,
  select,
  textarea,
  .search-box input,
  .mobile-search input,
  .qq-field input,
  .qq-field select,
  .form-group input,
  .form-group textarea,
  .sort-select {
    font-size: 16px;
  }

  /* Dokunma alanları — min 44px (WCAG 2.5.5) */
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .catalog-pagination button {
    min-width: 44px;
    height: 44px;
  }
  .btn-filter,
  .sort-select {
    min-height: 44px;
  }
  .filter-item {
    padding: .55rem 0;
    min-height: 40px;
  }
}
