/* Bufera e-katalog (site içinde, giriş yapan katalog kullanıcılarına). Netlify sürümünün (2026-11-03) onaylı dili:
   kireç zemin, Inter Tight + Inter, renk kumaştan. Fontlar sitenin kendi dosyaları. */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff") format("woff"); font-weight: 100 900; font-display: swap; }
:root {
  --zemin: #F0EEE9;
  --kart: #E7E4DD;
  --metin: #26231F;
  --soluk: #6F6A62;      /* katalogdaki #8C867D, küçük yazıda okunurluk için koyulaştırıldı */
  --cizgi: #3A3631;
  --ince: #D5D1C9;
  --kenar: clamp(16px, 4vw, 56px);
  --yuvarlak: 4px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--zemin); color: var(--metin); font: 400 16px/1.55 "Inter", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--metin); outline-offset: 3px; }
h1, h2, h3 { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600; margin: 0; letter-spacing: -.02em; }
[hidden] { display: none !important; }
.atla { position: absolute; left: -999px; top: 8px; background: var(--metin); color: var(--zemin); padding: 8px 12px; z-index: 50; }
.atla:focus { left: 8px; }

/* Üst şerit */
.ust {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--kenar); background: color-mix(in srgb, var(--zemin) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.kaydi .ust { border-bottom-color: var(--ince); }
.ust-logo svg { height: 24px; width: auto; display: block; }
[data-sayfa="ana"] .ust-logo { opacity: 0; pointer-events: none; transition: opacity .25s; }
[data-sayfa="ana"].kaydi .ust-logo { opacity: 1; pointer-events: auto; }
.ust-sag { display: flex; align-items: center; gap: 16px; }
.pdf-ust { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--metin); color: var(--zemin); font-size: 14px; text-decoration: none; white-space: nowrap; }
.pdf-ust svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pdf-ust:hover { background: #3A3631; }
.dil { display: flex; gap: 2px; }
.dil button { background: none; border: 0; padding: 6px 6px; font-size: 14px; color: var(--soluk); }
.dil button[aria-pressed="true"] { color: var(--metin); text-decoration: underline; text-underline-offset: .35em; }
.liste-ac { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--cizgi); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.sayac { min-width: 22px; height: 22px; border-radius: 11px; background: var(--metin); color: var(--zemin); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.sayac[data-bos] { background: var(--kart); color: var(--soluk); }
.dugme.ana .sayac { background: var(--zemin); color: var(--metin); }

/* Ana sayfa: giriş */
.hero { min-height: min(calc(100svh - 64px - 150px), 660px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px var(--kenar) 24px; }
.hero-logo svg { width: min(440px, 70vw); height: auto; display: block; }
.hero-baslik { margin-top: clamp(28px, 4vw, 44px); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: 0; }
.hero-alt { margin: 10px 0 0; font-size: 14.5px; color: var(--soluk); line-height: 1.7; }
.hero-seriler { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; max-width: 720px; }
.hero-seriler a { padding: 6px 12px; border: 1px solid var(--ince); border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; background: #F7F5F1; transition: border-color .15s, background .15s; }
.hero-seriler a:hover { border-color: var(--cizgi); background: #FAF9F6; }
.hero-in { margin-top: 26px; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13.5px; color: var(--soluk); text-decoration: none; }
.hero + .seri { padding-top: 12px; }
.hero-in span { font-size: 18px; color: var(--metin); animation: in-ok 2.2s ease-in-out infinite; }
@keyframes in-ok { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-in span { animation: none; } }

/* Ana sayfa: seriler */
.seri { padding: clamp(40px, 6vw, 80px) var(--kenar) 0; scroll-margin-top: 64px; }
.seri-bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--ince); }
.seri-bas h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.03em; }
.seri-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; color: var(--soluk); }
.izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 14px; }
.karo { text-decoration: none; display: block; }
.karo-gorsel { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--yuvarlak); background: var(--kart); }
.karo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.karo:hover img { transform: scale(1.04); }
.karo-kod { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.isaret { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--metin); margin-left: 7px; vertical-align: 2px; }

/* Alt bilgi */
.alt { display: flex; gap: 28px; align-items: flex-end; padding: clamp(64px, 8vw, 112px) var(--kenar) 48px; }
.alt-logo svg { height: 54px; width: auto; display: block; }
.alt-metin { font-size: 14px; color: var(--soluk); }
.alt-metin p { margin: 0 0 6px; max-width: 60ch; }

/* Düğmeler */
.dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--cizgi); background: none; font-size: 14.5px; text-decoration: none; }
.dugme.ana { background: var(--metin); color: var(--zemin); border-color: var(--metin); }
.metin-dugme { background: none; border: 0; padding: 8px 0; font-size: 14px; color: var(--soluk); text-decoration: underline; text-underline-offset: .2em; }
.yuvarlak { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--cizgi); background: none; font-size: 22px; line-height: 1; }

/* Kumaş sayfası */
.yol { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--kenar) 0; font-size: 14px; }
.yol a { text-decoration: none; }
.yol a:hover { text-decoration: underline; }
.yol-ok { display: flex; align-items: center; gap: 18px; }
.yol-no { color: var(--soluk); font-feature-settings: "tnum"; }
.ur { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 32px clamp(32px, 4vw, 64px); padding: 20px var(--kenar) 0; align-items: start; }
.ur-gorsel { position: sticky; top: 76px; }
.sahne { background: var(--kart); border-radius: var(--yuvarlak); display: grid; place-items: center; padding: 44px 28px 24px 52px; }
.olcek { position: relative; max-width: 100%; }
.olcek > img { max-width: 100%; max-height: calc(100svh - 300px); min-height: 280px; width: auto; height: auto; object-fit: contain; cursor: zoom-in; }
.katman { position: absolute; inset: 0; overflow: hidden; background: var(--kart); display: none; }
.katman img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
[data-katman="yakin"] img { width: 300%; max-width: none; cursor: zoom-in; }
[data-katman="asili"] img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.ur-gorsel[data-gor="yakin"] [data-katman="yakin"], .ur-gorsel[data-gor="asili"] [data-katman="asili"] { display: block; }
.ur-gorsel:not([data-gor="kumas"]) .cetvel { visibility: hidden; }
.galeri-not { display: none; margin: 8px 0 0; font-size: 12.5px; color: var(--soluk); }
.ur-gorsel[data-gor="asili"] .galeri-not { display: block; }
.galeri { display: flex; gap: 12px; margin-top: 12px; }
.galeri button { background: none; border: 0; padding: 0; display: grid; gap: 6px; justify-items: start; font-size: 12.5px; color: var(--soluk); }
.g-kare { width: 64px; height: 64px; border-radius: 3px; overflow: hidden; display: block; outline: 1.5px solid transparent; outline-offset: 2px; }
.g-kare img { width: 100%; height: 100%; object-fit: cover; }
.g-yakin img { transform: scale(2.6); }
.galeri button[aria-selected="true"] { color: var(--metin); font-weight: 500; }
.galeri button[aria-selected="true"] .g-kare { outline-color: var(--metin); }
.cetvel { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.cetvel line { stroke: var(--cizgi); stroke-width: 1; shape-rendering: crispEdges; }
.cetvel text { fill: var(--soluk); font: 500 10px "Inter", sans-serif; }
.ur-seri { margin: 0; font-size: 14px; color: var(--soluk); display: flex; gap: 14px; }
.ur-seri a { color: var(--metin); font-weight: 500; text-decoration: none; }
.ur-bilgi h1 { margin-top: 8px; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -.035em; }
.ur-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 40px; }
.ur-h2 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 12px; }
.tablo { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--ince); }
.tablo dt, .tablo dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--ince); font-size: 14.5px; }
.tablo dt { color: var(--soluk); padding-right: 28px; }
.ur-ikonlar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 32px 0 0; }
.ur-ikonlar h3 { font-size: 15px; font-family: "Inter", system-ui, sans-serif; font-weight: 500; letter-spacing: 0; margin-bottom: 12px; }
.ikonlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ikonlar li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.ikonlar svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--metin); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.kardesler { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 22px; }
.kardesler a { width: 50px; text-decoration: none; font-size: 11.5px; color: var(--soluk); text-align: center; }
.kardesler img { width: 50px; height: 50px; object-fit: cover; border-radius: 3px; outline: 1.5px solid transparent; outline-offset: 2px; margin-bottom: 4px; }
.kardesler a:hover img { outline-color: var(--ince); }
.kardesler a[aria-current="page"] { color: var(--metin); font-weight: 500; }
.kardesler a[aria-current="page"] img { outline-color: var(--metin); }
/* Yakından inceleme */
dialog { border: 0; padding: 0; color: var(--metin); }
dialog::backdrop { background: rgba(38, 35, 31, .45); }
.yakin { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: #1E1C19; }
.yakin-alan { width: 100%; height: 100%; overflow: auto; overscroll-behavior: contain; cursor: grab; }
.yakin-alan.surukle { cursor: grabbing; }
.yakin-alan img { max-width: none; user-select: none; -webkit-user-drag: none; }
.yakin-arac { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.yakin-arac button { min-width: 46px; height: 46px; border-radius: 23px; border: 0; background: var(--zemin); font-size: 18px; padding: 0 16px; }

/* Numune listesi */
.liste { width: min(440px, 100vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; background: var(--zemin); }
.liste-ic { display: flex; flex-direction: column; height: 100%; padding: 20px 24px max(24px, env(safe-area-inset-bottom)); }
.liste-ust { display: flex; justify-content: space-between; align-items: center; }
.liste-ust h2 { font-size: 26px; }
.liste-bos { color: var(--soluk); font-size: 15px; }
.liste-ic { overflow-y: auto; }
.liste-ogeler { list-style: none; margin: 12px 0 20px; padding: 0; }
.liste-ogeler li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--ince); font-size: 15px; font-weight: 500; }
.liste-ogeler li a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.liste-ogeler img { width: 52px; height: 52px; object-fit: cover; border-radius: 3px; }
.cikar-dugme { background: none; border: 0; color: var(--soluk); font-size: 13px; font-weight: 400; text-decoration: underline; padding: 8px 0; }
.bilgi { margin: 0 0 16px; border: 1px solid var(--ince); border-radius: 8px; }
.bilgi summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; padding: 12px 14px; font-size: 14.5px; font-weight: 500; }
.bilgi summary::-webkit-details-marker { display: none; }
.bilgi summary::before { content: "+"; width: 18px; font-size: 18px; line-height: 1; color: var(--soluk); }
.bilgi[open] summary::before { content: "−"; }
.bilgi summary small { color: var(--soluk); font-weight: 400; font-size: 12.5px; }
.bilgi-ic { display: grid; gap: 10px; padding: 0 14px 14px; }
.bilgi label { display: grid; gap: 4px; font-size: 12.5px; color: var(--soluk); }
.bilgi input, .bilgi textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--ince); border-radius: 6px; background: #FAF9F6; font: inherit; font-size: 14.5px; color: var(--metin); resize: vertical; }
.bilgi input:focus, .bilgi textarea:focus { outline: 2px solid var(--metin); outline-offset: 0; border-color: transparent; }
.liste-alt { display: grid; gap: 10px; margin-top: auto; }

/* Telefon ve tablet */
@media (max-width: 900px) {
  .izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .ur { grid-template-columns: 1fr; }
  .ur-gorsel { position: static; }
  .sahne { padding: 40px 14px 18px 40px; }
  .olcek > img { max-height: 60svh; }
  .g-kare { width: 56px; height: 56px; }
  .hs { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; justify-items: center; }
  .pn-tuval canvas { height: auto; width: min(100%, 420px); }
  .pn-kontrol { width: 100%; max-width: 420px; }
  .ur-ikonlar { grid-template-columns: 1fr; }
  .alt { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .ust-sag { gap: 8px; }
  .liste-yazi { display: none; }
  .pdf-ust span { display: none; }
  .pdf-ust { padding: 7px 10px; }
  .liste-ac::before { content: ""; width: 16px; height: 16px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='2.5' y='2.5' width='11' height='11' rx='1'/%3E%3Cpath d='M5 6h6M5 8.5h6M5 11h3.5'/%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 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='2.5' y='2.5' width='11' height='11' rx='1'/%3E%3Cpath d='M5 6h6M5 8.5h6M5 11h3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .ok-yazi { display: none; }
  .araclar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-kontrol input { width: 52vw; }
  .yol-ok a { font-size: 20px; padding: 4px 8px; }
}

/* ================================================================ Site içi ekler (2026-11-30) */
.logo { display: block; aspect-ratio: 1067.1 / 362.3; background: currentColor;
  -webkit-mask: url("logo-01.svg") no-repeat center / contain; mask: url("logo-01.svg") no-repeat center / contain; }
.ust-logo .logo { height: 24px; }
.hero-logo .logo { width: min(440px, 70vw); }
.alt-logo .logo { height: 54px; }
.dil a { padding: 6px 6px; font-size: 14px; color: var(--soluk); text-decoration: none; }
.dil a[aria-current="true"] { color: var(--metin); text-decoration: underline; text-underline-offset: .35em; }
.ust-bag { font-size: 14px; text-decoration: none; color: var(--soluk); }
.ust-bag:hover { color: var(--metin); }
.cikis-form { margin: 0; }
.cikis { background: none; border: 1px solid var(--ince); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--soluk); }
.cikis:hover { border-color: var(--cizgi); color: var(--metin); }
.gorselsiz .sahne { min-height: 240px; background: var(--kart); }

/* Giriş ve erişim talebi */
.kg { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.kg-sol { position: relative; overflow: hidden; background: #1E1C19; color: #F0EEE9; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px); }
.kg-sol img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.kg-sol > * { position: relative; }
.kg-sol .logo { height: 30px; width: auto; color: #F0EEE9; }
.kg-sol a.kg-geri { color: inherit; font-size: 14px; text-decoration: none; opacity: .85; }
.kg-sol h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; max-width: 12ch; }
.kg-sol p { max-width: 38ch; opacity: .85; margin: 14px 0 0; }
.kg-sag { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 80px); gap: 28px; }
.kg-ust { display: flex; justify-content: space-between; align-items: center; }
.kg-kutu { width: 100%; max-width: 440px; }
.kg-kutu h2 { font-size: 26px; margin-bottom: 6px; }
.kg-kutu > p { color: var(--soluk); margin: 0 0 22px; }
.kg-form { display: grid; gap: 12px; }
.kg-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.kg-form input, .kg-form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ince); background: #FAF9F6; color: var(--metin); }
.kg-form input:focus, .kg-form textarea:focus { outline: 2px solid var(--metin); outline-offset: 1px; border-color: transparent; }
.kg-form .ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kg-form small { color: var(--soluk); font-weight: 400; }
.kg-hata { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #F6E1DC; color: #7A2A1C; font-size: 14px; }
.kg-tamam { margin: 0; padding: 14px 16px; border-radius: 10px; background: #E3EFE6; color: #1F5A33; font-size: 14px; }
.kg-ayrac { display: flex; align-items: center; gap: 14px; color: var(--soluk); font-size: 13px; max-width: 440px; }
.kg-ayrac::before, .kg-ayrac::after { content: ""; flex: 1; height: 1px; background: var(--ince); }
.kg-talep summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--ince); border-radius: 12px; background: #F7F5F1; }
.kg-talep summary::-webkit-details-marker { display: none; }
.kg-talep summary b { display: block; font-weight: 600; }
.kg-talep summary span small { color: var(--soluk); }
.kg-talep summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--soluk); }
.kg-talep[open] summary::after { content: "−"; }
.kg-talep[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.kg-talep .kg-form { border: 1px solid var(--ince); border-top: 0; border-radius: 0 0 12px 12px; padding: 18px; }
.wa-dugme { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #1F7A4D; color: #fff; border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 500; text-decoration: none; }
.wa-dugme:hover { background: #18663F; }
.wa-dugme svg { width: 18px; height: 18px; fill: currentColor; }
.kg .dugme.ana { width: 100%; justify-content: center; }
@media (max-width: 900px) { .kg { grid-template-columns: 1fr; } .kg-sol { min-height: 300px; } .kg-form .ikili { grid-template-columns: 1fr; } }

/* Katalog listesi */
.kl { padding: clamp(32px, 5vw, 72px) var(--kenar) 80px; max-width: 1280px; margin: 0 auto; }
.kl h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 8px; }
.kl > p { color: var(--soluk); margin: 0 0 32px; }
.kl-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.kl-kart { display: flex; flex-direction: column; background: #F7F5F1; border-radius: 16px; overflow: hidden; text-decoration: none; border: 1px solid var(--ince); transition: transform .3s, box-shadow .3s; }
.kl-kart:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(38,35,31,.12); }
.kl-gorsel { aspect-ratio: 4 / 3; background: var(--kart); overflow: hidden; }
.kl-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.kl-yazi { padding: 18px 20px 22px; display: grid; gap: 6px; }
.kl-yazi b { font-family: "Inter Tight", "Inter", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.kl-yazi span { color: var(--soluk); font-size: 14px; }
.cikis { white-space: nowrap; }
@media (max-width: 480px) { .cikis { padding: 5px 9px; font-size: 12px; } .ust-bag { display: none; } }
/* Talep formu kutudan taşmasın: girdiler sütun genişliğini aşamaz */
.kg-form label { min-width: 0; }
.kg-form input, .kg-form textarea { width: 100%; min-width: 0; }
.kg-form .ikili { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.kg-talep .kg-form { box-sizing: border-box; width: 100%; }
@media (max-width: 900px) { .kg-form .ikili { grid-template-columns: minmax(0, 1fr); } }
.kg-form .ikili { align-items: end; }

/* ================================================================ Keçe gibi kartelalar (2026-11-30): tırtıklı kenar + arkada gölge
   Kenarı katalog.js çizer (clip-path); gölge görseli saran öğede, kenarın şeklini izler. */
.karo-gorsel, .tirtik-kap, .tg { filter: drop-shadow(0 1px 1.5px rgba(38, 35, 31, .22)) drop-shadow(0 6px 10px rgba(38, 35, 31, .16)); }
.karo-gorsel { background: none; border-radius: 0; overflow: visible; }
.karo-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.karo:hover .karo-gorsel img { transform: translateY(-3px); }
.tirtik-kap { display: block; }
.olcek .tirtik-kap > img { max-width: 100%; max-height: calc(100svh - 300px); min-height: 280px; width: auto; height: auto; object-fit: contain; cursor: zoom-in; display: block; }
.tg { display: inline-block; }
@media (max-width: 900px) { .olcek .tirtik-kap > img { max-height: 60svh; } }

/* Netlify'a yakınlık: çıkış ve kataloglar dil yazıları gibi sade */
.cikis { border: 0; padding: 6px 6px; font-size: 14px; color: var(--soluk); background: none; border-radius: 0; }
.cikis:hover { color: var(--metin); text-decoration: underline; text-underline-offset: .35em; }
@media (max-width: 480px) { .cikis { padding: 6px 4px; font-size: 13px; } }

/* Yönetici önizlemesi: köşede sabit şerit */
.onizleme-serit { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; max-width: calc(100vw - 32px);
  padding: 10px 16px; border-radius: 999px; background: #26231F; color: #F0EEE9; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.onizleme-serit b { font-weight: 600; }
.onizleme-serit span { opacity: .8; }
.onizleme-serit a { color: #F0EEE9; }
.kl-gorsel { position: relative; }
.kl-taslak { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: #26231F; color: #F0EEE9; font-size: 12px; }

/* ================================================================ Serbest bölümler (panel › Katalog düzeni) — katalogun kendi dilinde */
.kb { padding: clamp(40px, 6vw, 80px) var(--kenar) 0; }
.kb-dar { max-width: 760px; }
.kb-etiket { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soluk); }
.kb-baslik { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; }
.kb-metin { color: var(--metin); font-size: 16.5px; line-height: 1.65; max-width: 64ch; }
.kb-metin p { margin: 0 0 1em; }
.kb-figur { margin: 0; }
.kb-figur img { width: 100%; max-height: 80svh; object-fit: cover; border-radius: var(--yuvarlak); }
.kb-figur.dar { max-width: 880px; margin: 0 auto; }
.kb-figur figcaption { margin-top: 10px; font-size: 14px; color: var(--soluk); }
.kb-gm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kb-gm img, .kb-gm-bos { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--yuvarlak); background: var(--kart); display: block; }
.kb-gm.sag > :first-child { order: 2; }
.kb-soz { margin: 0; max-width: 980px; }
.kb-soz p { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 500; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.03em; }
.kb-soz cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; color: var(--soluk); }
.kb-cagri { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 4vw, 44px); border-radius: 10px; background: var(--kart); }
.kb-cagri .kb-baslik { margin: 0; }
.kb-cagri .kb-metin p:last-child { margin-bottom: 0; }
.kb-ayrac { border: 0; border-top: 1px solid var(--ince); margin: 0; }
.kb-t-teknik .ur-ikonlar { margin-top: 28px; }
/* hizalama ve söz boyutu (bölüm kartından seçilir) */
.hiza-orta { text-align: center; }
.hiza-orta .kb-dar, .hiza-orta .kb-soz, .hiza-orta .kb-metin { margin-left: auto; margin-right: auto; }
.hiza-orta .kb-cagri { justify-items: center; }
.hiza-sag { text-align: right; }
.hiza-sag .kb-dar, .hiza-sag .kb-soz, .hiza-sag .kb-metin { margin-left: auto; }
.hiza-sag .kb-cagri { justify-items: end; }
.hiza-orta .tablo, .hiza-sag .tablo, .hiza-orta .ur-ikonlar, .hiza-sag .ur-ikonlar { text-align: left; }
.boyut-orta .kb-soz p { font-size: clamp(22px, 2.4vw, 32px); }
.boyut-kucuk .kb-soz p { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 900px) { .kb-gm { grid-template-columns: 1fr; } .kb-gm.sag > :first-child { order: 0; } }

.kb-bos p { margin: 0; padding: 28px; border: 1.5px dashed var(--ince); border-radius: 10px; color: var(--soluk); text-align: center; }

/* ================================================================ Kumaş sayfası düzeni (panel › Kumaş sayfası): sağ sütun öğeleri sıralanabilir */
.ur-bilgi > .ur-oge, .ur-bilgi > .kb { margin-top: 30px; }
.ur-bilgi > h1 + .ur-oge, .ur-bilgi > h1 + .kb { margin-top: 22px; }
.ur-oge .kardesler, .ur-oge .ur-dugmeler, .ur-oge .ur-ikonlar { margin: 0; }
.ur-bilgi > .kb { padding: 0; }
.ur-bilgi .kb-baslik { font-size: 22px; margin-bottom: 10px; }
.ur-bilgi .kb-metin, .ur-not { font-size: 15.5px; line-height: 1.6; color: var(--metin); }
.ur-bilgi .kb-soz p { font-size: 24px; }
.ur-bilgi .kb-cagri { padding: 22px; }
.ur-not p { margin: 0 0 .8em; }
.ur-not p:last-child { margin-bottom: 0; }
.ur-bos { padding: 16px; border: 1.5px dashed var(--ince); border-radius: 8px; color: var(--soluk); font-size: 13.5px; }
.ur-alt:empty { display: none; }
.ur-alt { padding-bottom: 8px; }
.katman-ek.acik { display: block; }
.katman-ek img { width: 100%; height: 100%; object-fit: cover; }
.ur-gorsel:has(.katman-ek.acik) .cetvel { visibility: hidden; }

/* Telefon: üst çubuk ekrana sığsın (yana kaydırma olmasın); yönetici önizleme şeridi küçük */
@media (max-width: 480px) {
  body { overflow-x: clip; }
  .ust { padding-left: 14px; padding-right: 14px; }
  .ust-sag { gap: 8px; }
  .dil a { padding: 6px 3px; }
  .onizleme-serit { left: 12px; right: 12px; bottom: 10px; padding: 8px 12px; gap: 8px; font-size: 12.5px; }
  .onizleme-serit span { display: none; }
}
.kg-unuttum { margin: 12px 0 0; font-size: 13.5px; } .kg-unuttum a { color: var(--soluk); } .kg-unuttum a:hover { color: var(--metin); }

/* ================================================================ Arama ve süzme (kod, seri, ton) */
.ara { position: sticky; top: 57px; z-index: 15; padding: 10px var(--kenar); background: color-mix(in srgb, var(--zemin) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--ince); }
.ara-ic { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ara-kutu { display: flex; align-items: center; gap: 8px; flex: 0 1 300px; min-width: 200px; padding: 0 12px; height: 38px; border: 1px solid var(--cizgi); border-radius: 999px; background: #fff; }
.ara-kutu svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--soluk); stroke-width: 1.6; stroke-linecap: round; }
.ara-kutu input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 14px var(--govde, "Inter", sans-serif); color: var(--metin); }
.ara-grup { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ara-etiket { font-size: 12.5px; color: var(--soluk); margin-right: 2px; }
.ara-cip { border: 1px solid var(--cizgi); background: none; border-radius: 999px; padding: 5px 11px; font-size: 13px; color: var(--metin); cursor: pointer; white-space: nowrap; }
.ara-cip:hover { border-color: var(--metin); }
.ara-cip[aria-pressed="true"] { background: var(--metin); border-color: var(--metin); color: var(--zemin); }
.ara-sonuc { margin-left: auto; font-size: 13px; color: var(--soluk); white-space: nowrap; }
.ara-temizle { border: 0; background: none; font-size: 13px; color: var(--metin); text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
.ara-gizli { display: none !important; }
.ara-bos { margin: 40px var(--kenar); text-align: center; color: var(--soluk); }
@media (max-width: 700px) {
  .ara { top: 54px; padding: 8px 14px; }
  .ara-ic { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ara-ic::-webkit-scrollbar { display: none; }
  .ara-kutu { flex: 0 0 210px; }
  .ara-sonuc { margin-left: 0; }
}
