/* Axor Medikal - site stilleri */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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: "Montserrat";
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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;
}

:root {
  --ink: #1c2621;
  --ink-2: #4c5651;
  --grey: #5a5b5e;
  --line: #d6ded8;
  --paper: #ffffff;
  --panel: #f2f5f2;
  --resin: #e3eae5;
  --green: #1f7a3a;
  --green-ink: #145a2a;
  --leaf: #4ba84b;
  --forest: #0f3b22;
  --danger: #b42318;
  --radius: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --head-stretch: 100%;
  --data-stretch: 100%;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .97rem;
  line-height: 1.65;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-stretch: var(--head-stretch);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.2rem); line-height: 1.08; }
.hero h1 { font-size: clamp(1.9rem, 1.1rem + 2.3vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--ink-2); }
.data { font-variant-numeric: tabular-nums; }

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.15em;
  border: 1px solid var(--green); border-radius: var(--radius);
  background: var(--green); color: #fff;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green-ink); border-color: var(--green-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--panel); color: var(--green-ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--forest); }
.btn-light:hover { background: var(--resin); border-color: var(--resin); color: var(--forest); }
.btn-small { min-height: 36px; padding: .35em .8em; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- Üst bölüm ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.logo { flex: none; }
.logo img { width: 101px; height: 44px; }

.main-nav { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.nav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li > a {
  display: block; padding: 10px 9px; border-radius: var(--radius);
  color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.nav-list > li > a:hover { background: var(--panel); color: var(--ink); }
.nav-list > li > a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }

.has-mega { position: relative; }
.mega {
  position: absolute; left: -12px; top: 100%;
  width: min(880px, 90vw); padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(15, 59, 34, .28);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.mega-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega-head:hover { color: var(--green); }
.mega .count { font-stretch: var(--data-stretch); color: var(--ink-2); font-weight: 500; }
.mega ul { list-style: none; margin: 8px 0 0; padding: 0; }
.mega li a { display: block; padding: 3px 0; color: var(--ink-2); text-decoration: none; }
.mega li a:hover { color: var(--green); }
.mega-all { display: inline-block; margin-top: 18px; font-weight: 600; }

.nav-search { margin-left: auto; }
.nav-search input {
  width: 200px; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); font: inherit; font-size: .95rem; color: var(--ink);
}
.nav-search input:focus { background: #fff; border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(31, 122, 58, .18); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.btn-quote { font-size: .92rem; padding-inline: .9em; }
.header-phone { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .92rem; white-space: nowrap; }
.btn-quote .badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: #fff; color: var(--green); font-size: .8rem; font-weight: 700;
}
.btn-quote .badge[hidden] { display: none; }

.nav-toggle { display: none; }

@media (max-width: 1340px) {
  .header-phone { display: none; }
}
@media (max-width: 1140px) {
  .nav-search input { width: 150px; }
}

.drawer-head, .drawer-foot, .nav-backdrop { display: none; }

@media (max-width: 1020px) {
  .site-header { background: #fff; }
  .header-row { gap: 10px; min-height: 64px; }
  .logo img { width: 87px; height: 38px; }
  .header-actions { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; order: 3;
    min-height: 44px; padding: 8px 12px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }

  .main-nav { flex-direction: column; align-items: stretch; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list > li > a:hover { background: none; }
  .nav-list > li > a[aria-current="page"] { box-shadow: none; }
  .mega { position: static; width: auto; padding: 4px 0 8px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega ul { display: none; }
  .mega-head { border: 0; padding: 9px 0; font-weight: 500; }
  .mega-all { margin-top: 6px; }
  .nav-search { margin-left: 0; order: -1; }
  .drawer-head { order: -2; }
  .nav-search input { width: 100%; min-height: 46px; font-size: 1rem; }

  /* Sağdan açılan, sayfadan bağımsız tam yükseklikte panel (betik kapalıysa nojs.css düz listeye çevirir) */
  .header-row { flex-wrap: nowrap; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
    width: min(420px, 100%); height: 100dvh; padding: 0 20px 24px; gap: 16px;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -18px 0 40px -20px rgba(15, 59, 34, .35);
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 1; min-height: 64px; margin: 0 -20px; padding: 0 20px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav-close {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -6px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-close:hover { background: var(--panel); }
  .drawer-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
  .drawer-foot a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: none; padding: 4px 0; }
  .nav-backdrop:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 65;
    background: rgba(15, 30, 22, .45);
  }
  html.menu-open, html.menu-open body { overflow: hidden; }
  html.menu-open .wa { display: none; }
}
@media (max-width: 420px) {
  .header-row { gap: 8px; }
  .btn-quote { padding-inline: .75em; }
  /* Dar telefonlarda menü düğmesi yalnızca simge */
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle-label { display: none; }
}

/* ---------- Bildirimler ---------- */

.flash-stack { padding-top: 16px; }
.flash { margin: 0 0 8px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; }
.flash-success { background: #edf7ef; border-color: #b5dcbd; color: #10461f; }
.flash-error { background: #fdf0ef; border-color: #f1c0bb; color: #7a1a12; }
.flash-info { background: var(--panel); border-color: var(--line); }

/* ---------- Ortak bölümler ---------- */

.section { padding-block: clamp(48px, 7vw, 96px); }
.section-panel { background: var(--panel); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; max-width: 52ch; color: var(--ink-2); }

.crumbs { padding-top: 20px; font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }

.page-head { padding-block: 28px 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 22ch; margin-bottom: .3em; }
.page-head .lead { max-width: 62ch; font-size: 1.15rem; color: var(--ink-2); margin: 0; }

/* ---------- Ana sayfa: açılış ---------- */

.hero { padding-block: clamp(32px, 5vw, 64px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero-text { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-search { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.hero-search input {
  flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff;
}
.hero-search input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(31, 122, 58, .18); }
.hero-search .btn { min-height: 48px; }
.hero-hint { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
.hero-figure { margin: 0; position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.hero-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }

.cert-strip { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.cert-strip a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.cert-strip a::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--green); border-radius: 50%; }
.cert-strip a:hover { color: var(--green); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 10; }
}

/* ---------- Ölçü cetveli (imza bölüm) ---------- */

.ruler { padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); overflow: hidden; }
.ruler-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 20px; }
.ruler-head h2 { margin: 0; }
.ruler-head p { margin: 0; color: var(--ink-2); }
.ruler-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr);
  align-items: end; gap: 0;
  overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.ruler-item { scroll-snap-align: start; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.ruler-item .ruler-img { height: 190px; display: flex; align-items: end; justify-content: center; padding: 0 8px; }
.ruler-item img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; transition: transform .2s; }
.ruler-item:hover img { transform: translateY(-4px); }
.ruler-scale {
  height: 26px; margin-top: 6px;
  border-top: 2px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 100%) 0 0 / 50% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-2) 0 1px, transparent 1px 10px) 0 0 / 100% 7px no-repeat;
}
.ruler-label { padding: 6px 10px 0 0; }
.ruler-code { display: block; font-stretch: var(--data-stretch); font-weight: 700; font-size: .95rem; }
.ruler-spec { display: block; font-stretch: var(--data-stretch); color: var(--ink-2); font-size: .9rem; }
.ruler-item:hover .ruler-code { color: var(--green); }

/* ---------- Kategori dizini ---------- */

.cat-index { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.cat-row {
  display: grid; grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cat-row img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); background: #fff; }
.cat-name { font-stretch: var(--head-stretch); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--ink); text-decoration: none; }
.cat-name:hover { color: var(--green); }
.cat-name small { display: block; margin-top: 4px; font-stretch: 100%; font-weight: 400; font-size: .95rem; color: var(--ink-2); }
.cat-subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cat-subs a {
  display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .92rem; background: #fff;
}
.cat-subs a:hover { border-color: var(--green); color: var(--green); }
.cat-count { font-stretch: var(--data-stretch); font-size: 1.6rem; font-weight: 600; color: var(--green); text-align: right; min-width: 3ch; }
.cat-count span { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-2); }
@media (max-width: 760px) {
  .cat-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; }
  .cat-row img { width: 72px; height: 72px; }
  .cat-subs { grid-column: 1 / -1; }
  .cat-count { grid-column: 3; grid-row: 1; }
}

/* ---------- Üretim tanıtımı ---------- */

.make-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.make-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.make-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.make-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.fact-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fact-list li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list strong { font-stretch: var(--data-stretch); font-weight: 700; }
@media (max-width: 860px) {
  .make-grid { grid-template-columns: 1fr; }
  .fact-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Doğa dostu kapak ---------- */

.bio { background: var(--forest); color: #e8f1ea; }
.bio h2 { color: #fff; max-width: 18ch; }
.bio-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bio-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); }
.bio-stats li { padding: 16px 16px 0 0; }
.bio-stats b { display: block; font-stretch: var(--data-stretch); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.1; color: #fff; }
.bio-stats span { font-size: .92rem; color: #c3d8c8; }
.bio a { color: #fff; }
.bio-figure { margin: 0 auto; max-width: 440px; width: 100%; background: #fff; border-radius: var(--radius); padding: 24px; }
.bio-figure img { width: 100%; mix-blend-mode: multiply; }
.bio-source { font-size: .9rem; color: #c3d8c8; margin-top: 20px; }
@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bio-stats { grid-template-columns: 1fr; }
  .bio-stats li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
}

/* ---------- Minnax ---------- */

.brand-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.brand-band img { width: 100%; border-radius: var(--radius); }
@media (max-width: 860px) { .brand-band { grid-template-columns: 1fr; } }

/* ---------- Ürün kartları ---------- */

.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

.p-card { display: flex; flex-direction: column; height: 100%; }
.p-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.p-card:hover .p-card-img img { transform: scale(1.03); }
.p-card-body { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.p-code { font-stretch: var(--data-stretch); font-size: .88rem; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.p-name { display: block; padding: 2px 0; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; }
.p-name:hover { color: var(--green); }
.p-spec { font-stretch: var(--data-stretch); font-size: .92rem; color: var(--ink-2); }
.p-card form { margin-top: auto; padding-top: 10px; }
.p-card .btn-small { width: 100%; }
.p-card .btn-small.added { background: var(--panel); color: var(--green-ink); border-color: var(--line); }

/* ---------- Ürün listesi ---------- */

.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-block: 32px 80px; }
.shop-side-desktop {
  position: sticky; top: 100px; align-self: start;
  max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain;
  padding-right: 6px; scrollbar-width: thin;
}
.shop-side h2 { font-size: 1rem; font-stretch: 100%; margin: 0 0 10px; }
.side-block + .side-block { margin-top: 28px; }
.side-tree { margin: 0; padding: 0; list-style: none; }
.side-tree a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.side-tree a:hover { background: var(--panel); }
.side-tree a[aria-current="page"] { background: var(--resin); color: var(--green-ink); font-weight: 600; }
.side-tree .n { font-stretch: var(--data-stretch); color: var(--ink-2); }
.side-tree ul { margin: 2px 0 6px 10px; padding: 0 0 0 8px; list-style: none; border-left: 1px solid var(--line); }
.side-tree ul a { font-size: .94rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-current="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.shop-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 24px; }
.shop-top h1 { margin: 0; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.shop-top p { margin: 4px 0 0; color: var(--ink-2); }
.shop-search { display: flex; gap: 8px; }
.shop-search input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; width: 260px; max-width: 100%; }
.cat-desc { max-width: 70ch; color: var(--ink-2); margin: -8px 0 24px; }
.empty { padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; padding: 0; list-style: none; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-stretch: var(--data-stretch); }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.filter-toggle { display: none; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .filter-toggle { display: block; }
  .filter-toggle summary { cursor: pointer; display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; list-style: none; }
  .filter-toggle summary::-webkit-details-marker { display: none; }
  .filter-toggle[open] summary { margin-bottom: 16px; }
  .shop-side-desktop { display: none; position: static; max-height: none; }
  .shop-search input { width: 100%; }
  .shop-search { width: 100%; }
}
@media (min-width: 901px) {
  .shop-side-mobile { display: none; }
}

/* ---------- Ürün detayı ---------- */

.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-block: 24px 64px; }
.gallery-main { margin: 0; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.thumbs button { padding: 0; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border: 2px solid var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin-bottom: .2em; }
.product-code { font-stretch: var(--data-stretch); font-weight: 700; color: var(--green); font-size: 1.1rem; margin-bottom: 20px; }
.spec { margin: 0 0 24px; border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-2); }
.spec dd a { display: inline-block; padding: 2px 0; }
.spec dd { margin: 0; font-stretch: var(--data-stretch); font-weight: 600; font-size: 1.05rem; }
.add-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 18px; background: var(--panel); border-radius: var(--radius); }
.add-box label { display: block; font-size: .9rem; color: var(--ink-2); margin-bottom: 4px; }
.add-box input[type="number"] { width: 140px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-stretch: var(--data-stretch); background: #fff; }
.add-box .btn { flex: 1; min-width: 180px; }
.add-note { flex-basis: 100%; margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.product-desc { margin-top: 28px; }
.product-help { margin-top: 24px; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- Metin içerikleri ---------- */

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); font-size: 1.1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.prose .table-wrap, .table-scroll { overflow-x: auto; }
@media (max-width: 600px) {
  /* Dar ekranda tablolar sayfayı taşırmaz, kendi içinde kayar */
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-block: 40px 80px; align-items: start; }
.page-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { padding: 20px; background: var(--panel); border-radius: var(--radius); }
.side-card h2 { font-size: 1.1rem; font-stretch: 100%; }
.side-card p:last-child { margin-bottom: 0; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li + li { margin-top: 2px; }
.side-card li a { display: inline-block; padding: 3px 0; }
.page-figure { margin: 0 0 32px; }
.page-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.page-figure figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-side { position: static; }
}

/* ---------- Belgeler ---------- */

.doc-list { margin: 0 0 40px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.doc-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-list h3 { margin: 0 0 2px; font-stretch: 100%; font-size: 1.08rem; }
.doc-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.doc-meta { font-stretch: var(--data-stretch); color: var(--ink-2); font-size: .9rem; }

/* ---------- Haberler ---------- */

.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--panel); }
.news-card time { display: block; margin-top: 14px; font-stretch: var(--data-stretch); color: var(--ink-2); font-size: .92rem; }
.news-card h3 { margin: 4px 0 8px; font-size: 1.2rem; line-height: 1.25; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--green); }
.news-card p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-list { grid-template-columns: 1fr; } }
.article-head { max-width: 72ch; }
.article-head time { font-stretch: var(--data-stretch); color: var(--ink-2); }
.article-cover { margin: 24px 0 32px; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.source-note { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }

/* ---------- Formlar ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #b9c4bd; border-radius: var(--radius); background: #fff;
  font: inherit; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(31, 122, 58, .18); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check a { display: inline-block; padding: 2px 0; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.form-actions p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* ---------- Teklif listesi ---------- */

.quote-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.quote-table th, .quote-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.quote-table th { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.quote-table img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.quote-table input[type="number"] { width: 120px; min-height: 42px; padding: 6px 10px; border: 1px solid #b9c4bd; border-radius: var(--radius); font: inherit; font-stretch: var(--data-stretch); }
.quote-table .link-btn { background: none; border: 0; padding: 8px 0; color: var(--danger); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-block: 32px 80px; align-items: start; }
.quote-form { padding: 24px; background: var(--panel); border-radius: var(--radius); }
.quote-form h2 { font-size: 1.4rem; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .quote-table thead { display: none; }
  .quote-table tr { display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .quote-table td { border: 0; padding: 0; }
  .quote-table td:first-child { grid-row: span 3; }
}

/* ---------- İletişim ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); padding-block: 40px 80px; align-items: start; }
.contact-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: .9rem; color: var(--ink-2); }
.contact-list a, .contact-list strong { font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a { display: inline-block; padding: 2px 0; }
.contact-list a:hover { color: var(--green); }
.map-box { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.map-box iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-consent { padding: 20px; }
.map-consent p { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Mesaj sayfaları ---------- */

.message { padding-block: clamp(64px, 10vw, 140px); max-width: 640px; }
.message h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.message p { font-size: 1.1rem; color: var(--ink-2); }

/* ---------- Çağrı bandı ---------- */

.cta-band { background: var(--green); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-block: 40px; }
.cta-band h2 { margin: 0; color: #fff; max-width: 26ch; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.cta-band p { margin: 6px 0 0; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Alt bölüm ---------- */

.site-footer { background: var(--forest); color: #cfe0d4; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 40px; }
.footer-brand img { width: 101px; height: 44px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-size: 1rem; font-stretch: 100%; color: #fff; margin-bottom: 12px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 6px; }
.footer-links a { color: #cfe0d4; }
.footer-contact { font-style: normal; line-height: 1.9; }
.footer-address { display: block; margin-top: 6px; line-height: 1.5; color: #cfe0d4; }
.social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: #cfe0d4; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */

.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px 0 14px;
  background: #1f8f4e; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(15, 59, 34, .6);
}
.wa:hover { background: #17733e; color: #fff; }
@media (max-width: 600px) { .wa span { display: none; } .wa { padding: 0 13px; } }

/* ---------- Hareket tercihi ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .wa, .cta-band, .add-box, .thumbs { display: none !important; }
  body { font-size: 11pt; }
}

/* Cetvelde görsel yüksekliği hacimle kabaca orantılı */
.ruler-img.h1 img { height: 34%; }
.ruler-img.h2 img { height: 46%; }
.ruler-img.h3 img { height: 58%; }
.ruler-img.h4 img { height: 72%; }
.ruler-img.h5 img { height: 86%; }
.ruler-img.h6 img { height: 100%; }
