/* comfortpromax.com — ortak tasarım. Kaynak: kaynak/site.css (build.py public/ altına kopyalar). */
:root {
  --ink: #15232a;
  --ink-2: #33444c;
  --muted: #5d6d74;
  --bg: #f6f5f1;
  --bg-2: #eeece5;
  --card: #ffffff;
  --line: #e2dfd6;
  --brand: #0c5a61;
  --brand-2: #08434a;
  --brand-soft: #e3efee;
  --accent: #f2a541;
  --accent-2: #e08e1f;
  --accent-ink: #3a2400;
  --wa: #1c8f4d;
  --wa-2: #157a40;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 35, 42, .06), 0 8px 24px -12px rgba(21, 35, 42, .18);
  --shadow-lg: 0 2px 4px rgba(21, 35, 42, .06), 0 24px 48px -20px rgba(21, 35, 42, .28);
  --kap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.kap { width: min(100% - 32px, var(--kap)); margin-inline: auto; }
.gizli { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.atla:focus { top: 12px; }

/* ---------- Üst bant ---------- */
.ust {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.ust .kap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo svg { width: 38px; height: 38px; }
.logo-yazi { font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo-yazi b { color: var(--brand); font-weight: 800; }
.logo-yazi small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-top: 4px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px;
}
.menu a:hover, .menu a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.ust-eylem { display: flex; gap: 8px; }
.menu-ac { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-ana { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(12, 90, 97, .7); }
.btn-ana:hover { background: var(--brand-2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -10px rgba(28, 143, 77, .7); }
.btn-wa:hover { background: var(--wa-2); color: #fff; }
.btn-acik { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-acik:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-vurgu { background: var(--accent); color: var(--accent-ink); }
.btn-vurgu:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn-kucuk { min-height: 42px; padding: 0 16px; font-size: .94rem; }
.butonlar { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Giriş (ana sayfa) ---------- */
.giris {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(12, 90, 97, .13), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(242, 165, 65, .14), transparent 60%);
}
.giris .kap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.etiket {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
  font-size: .86rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.etiket i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.giris h1 em { font-style: normal; color: var(--brand); }
.ozet { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 36em; margin-bottom: 28px; }
.giris-not { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.giris-not svg { width: 18px; height: 18px; color: var(--brand); }

.vitrin { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vitrin a {
  background: var(--card); border-radius: 22px; padding: 14px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease; text-decoration: none; color: var(--ink);
}
.vitrin a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vitrin a:nth-child(2) { transform: translateY(28px); }
.vitrin a:nth-child(2):hover { transform: translateY(24px); }
.vitrin a:nth-child(3) { transform: translateY(-8px); }
.vitrin a:nth-child(3):hover { transform: translateY(-12px); }
.vitrin a:nth-child(4) { transform: translateY(20px); }
.vitrin a:nth-child(4):hover { transform: translateY(16px); }
.vitrin img { aspect-ratio: 1; object-fit: contain; width: 100%; border-radius: 14px; }
.vitrin span { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-2); padding: 8px 4px 2px; line-height: 1.3; }
.rozet {
  position: absolute; left: -14px; bottom: 18%;
  background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); line-height: 1.15;
}
.rozet b { display: block; font-size: 1.7rem; color: var(--accent); letter-spacing: -.02em; }
.rozet span { font-size: .84rem; font-weight: 600; opacity: .9; }

/* ---------- Bölümler ---------- */
.bolum { padding: clamp(48px, 7vw, 88px) 0; }
.bolum-koyu { background: var(--ink); color: #dfe7ea; }
.bolum-koyu h2, .bolum-koyu h3 { color: #fff; }
.bolum-acik { background: var(--card); border-block: 1px solid var(--line); }
.bolum-bas { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.bolum-bas h2 { margin: 0; }
.bolum-bas p { margin: 8px 0 0; color: var(--muted); max-width: 40em; }
.bolum-koyu .bolum-bas p { color: #a9bbc1; }
.ust-yazi { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.bolum-koyu .ust-yazi { color: var(--accent); }

/* Güven şeridi */
.serit { padding: 0; margin-top: -1px; }
.serit .kap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transform: translateY(-50%);
}
.serit-oge { display: flex; gap: 14px; align-items: center; padding: 22px 24px; }
.serit-oge + .serit-oge { border-left: 1px solid var(--line); }
.serit-oge svg { width: 42px; height: 42px; flex-shrink: 0; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.serit-oge b { display: block; font-size: 1rem; }
.serit-oge span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }

/* Kategori kutuları */
.kategoriler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kat {
  position: relative; display: grid; grid-template-columns: 1fr 112px; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 20px 22px;
  text-decoration: none; color: var(--ink); min-height: 140px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.kat:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.kat h3 { margin: 0 0 6px; font-size: 1.12rem; }
.kat span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.kat span::after { content: " →"; color: var(--brand); transition: margin .2s ease; }
.kat:hover span::after { margin-left: 4px; }
.kat img { width: 112px; height: 112px; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Ürün kartları ---------- */
.izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kart {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.kart[hidden] { display: none; }
.kart:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.kart-gorsel { display: block; background: #fff; padding: 14px 14px 0; }
.kart-gorsel img { aspect-ratio: 1; width: 100%; object-fit: contain; transition: transform .35s ease; }
.kart:hover .kart-gorsel img { transform: scale(1.04); }
.kart-govde { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.kart-kat { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.kart h3 { font-size: .98rem; font-weight: 650; line-height: 1.38; margin: 0; flex: 1; letter-spacing: -.005em; }
.kart h3 a { color: var(--ink); text-decoration: none; }
.kart h3 a:hover { color: var(--brand); }
.kart-eylem { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 6px; }
.kart-eylem .btn { min-height: 42px; padding: 0 12px; font-size: .9rem; }
.kart-eylem .btn-wa { width: 42px; padding: 0; }
.kart-eylem .btn-wa svg { width: 20px; height: 20px; }
.kart-eylem .btn-acik svg { width: 15px; height: 15px; }

/* ---------- Ürünler sayfası: arama ve süzgeç ---------- */
.sayfa-bas { padding: clamp(28px, 4vw, 48px) 0 24px; }
.sayfa-bas h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 12px; }
.sayfa-bas .ozet { margin-bottom: 0; }
.kirinti { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.kirinti li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.kirinti a { color: var(--muted); text-decoration: none; }
.kirinti a:hover { color: var(--brand); text-decoration: underline; }
.suzgec {
  position: sticky; top: 72px; z-index: 20;
  background: rgba(246, 245, 241, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 14px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.arama { position: relative; max-width: 560px; }
.arama svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.arama input {
  width: 100%; height: 54px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
  padding: 0 20px 0 50px; font: 500 1.02rem var(--font); color: var(--ink);
}
.arama input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(12, 90, 97, .12); }
.cipler { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.cipler::-webkit-scrollbar { display: none; }
.cip {
  flex-shrink: 0; border: 1.5px solid var(--line); background: var(--card); color: var(--ink-2);
  font: 650 .92rem var(--font); padding: 9px 15px; border-radius: 999px; cursor: pointer; text-decoration: none;
}
.cip:hover { border-color: var(--ink-2); color: var(--ink); }
.cip[aria-pressed="true"], .cip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cip small { opacity: .65; font-weight: 600; margin-left: 4px; }
.sonuc { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.bos { text-align: center; padding: 48px 16px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.bos[hidden] { display: none; }
.kat-giris { max-width: 46em; }

/* ---------- Adımlar ---------- */
.adimlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: adim; }
.adim { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px 24px 24px; }
.adim::before {
  counter-increment: adim; content: counter(adim);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}
.adim h3 { font-size: 1.18rem; }
.adim p { margin: 0; color: #b9c8cd; }

/* ---------- Bilgi / içerik ---------- */
.iki-kolon { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.metin { max-width: 44em; }
.metin h2 { margin-top: 1.4em; font-size: 1.5rem; }
.metin h2:first-child { margin-top: 0; }
.metin ul { padding-left: 1.2em; }
.metin li { margin-bottom: .4em; }
.kutu { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.kutu h2, .kutu h3 { margin-top: 0; }
.bilgi-satir { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bilgi-satir:last-child { border-bottom: 0; }
.bilgi-satir svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.bilgi-satir b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bilgi-satir a { font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.bilgi-satir a:hover { text-decoration: underline; }

.sss details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.sss summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.sss details[open] summary::after { transform: rotate(45deg); }
.sss details > div { padding: 0 20px 18px; color: var(--ink-2); }
.sss details > div p:last-child { margin: 0; }

/* Çağrı bandı */
.cagri {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff;
  border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}
.cagri h2 { color: #fff; margin-bottom: 8px; }
.cagri p { margin: 0; color: #cfe3e2; max-width: 36em; }

/* ---------- Alt bilgi ---------- */
.alt { background: #0f1a1f; color: #a9b8bd; padding: 56px 0 40px; margin-top: clamp(48px, 7vw, 88px); font-size: .95rem; }
.alt a { color: #e6eef0; text-decoration: none; }
.alt a:hover { color: var(--accent); }
.alt-izgara { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.alt h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.alt ul { list-style: none; padding: 0; margin: 0; }
.alt li { margin-bottom: 8px; }
.alt .logo { color: #fff; margin-bottom: 14px; }
.alt .logo-yazi b { color: var(--accent); }
.alt .logo-yazi small { color: #8ea1a7; }
.alt-not { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; font-size: .85rem; color: #7f9298; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.alt-not p { margin: 0; max-width: 62em; }

/* Mobil sabit eylem çubuğu */
.mobil-cubuk { display: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .izgara { grid-template-columns: repeat(3, 1fr); }
  .alt-izgara { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu, .ust-eylem { display: none; }
  .menu-ac {
    display: inline-flex; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--card); align-items: center; justify-content: center; cursor: pointer;
  }
  .menu-ac svg { width: 22px; height: 22px; }
  .ust.acik .menu {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 2px;
  }
  .ust.acik .menu a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .giris .kap { grid-template-columns: 1fr; }
  .giris .kap > div:first-child { order: 2; }
  .vitrin { grid-template-columns: repeat(4, 1fr); gap: 10px; order: 1; }
  .vitrin a, .vitrin a:nth-child(n) { transform: none; padding: 8px; border-radius: 16px; }
  .vitrin a:hover, .vitrin a:nth-child(n):hover { transform: translateY(-2px); }
  .vitrin span, .rozet { display: none; }
  .kategoriler { grid-template-columns: 1fr 1fr; }
  .serit .kap { grid-template-columns: 1fr; transform: none; margin-top: -24px; }
  .serit-oge + .serit-oge { border-left: 0; border-top: 1px solid var(--line); }
  .adimlar { grid-template-columns: 1fr; }
  .iki-kolon { grid-template-columns: 1fr; }
  .cagri { grid-template-columns: 1fr; }
  .suzgec { position: static; }
  .alt { padding-bottom: 110px; }
  .mobil-cubuk {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobil-cubuk .btn { min-height: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .izgara { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kart-gorsel { padding: 10px 10px 0; }
  .kart-govde { padding: 10px 12px 12px; gap: 6px; }
  .kart h3 { font-size: .9rem; }
  .kart-kat { font-size: .66rem; }
  .kart-eylem .btn { font-size: .84rem; min-height: 40px; padding: 0 8px; }
  .kart-eylem .btn-wa { width: 40px; }
  .kategoriler { grid-template-columns: 1fr; }
  .kat { min-height: 112px; grid-template-columns: 1fr 88px; }
  .kat img { width: 88px; height: 88px; }
  .vitrin { gap: 8px; }
  .vitrin a, .vitrin a:nth-child(n) { padding: 6px; border-radius: 12px; }
  .butonlar .btn { flex: 1 1 100%; }
  .alt-izgara { grid-template-columns: 1fr; }
  .logo-yazi small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .ust, .mobil-cubuk, .suzgec, .alt { display: none; }
}
