/* Kök Kilit teması — eski kokkilit.com tasarımının Bootstrap 5 + Vanilla JS uyarlaması (CDN yok).
   Renkler, ölçüler ve bileşenler eski sitenin style.css dosyasından birebir alınmıştır. */

:root {
    --red: #bc1618;
    --red-bright: #ed020a;
    --navy: #223669;
    --ink: #000;
    --text: #444;
    --line: #eee;
    --gray-band: #edeff4;
    --whatsapp: #2cb240;
    --font: 'Palanquin', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Eski sitede gövde yazısı kalındır; bileşenler kendi ağırlığını verir. */
body { font-family: var(--font); font-weight: 700; color: #212529; background: #fff; overflow-x: clip; }
a, a:focus { color: #000; text-decoration: none; transition: color .5s, background-color .3s, border-color .3s; }
a:hover { color: #1f1f1f; }
b, strong { font-weight: 700; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font); }
p { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
::selection { color: #000; background: #dbdbdb; }

/* Eski site Bootstrap 4 ızgarasıyla 1140px genişlikteydi. */
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10005; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.icon { flex-shrink: 0; }

/* Kaydırma animasyonu (eski sitedeki wow fadeIn; yalnız JS açıkken, hareket azaltma tercihi yoksa). */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Üst bar */
.topbar { background: var(--red); height: 40px; color: #fff; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar-contact { display: flex; align-items: center; gap: 15px; }
.topbar-contact a { display: flex; align-items: center; gap: 13px; color: #fff; font-size: 13px; }
.topbar-contact a:hover { color: #fff; opacity: .85; }
.topbar-social { display: flex; align-items: center; }
.topbar-social .social-link { color: #fff; width: 30px; display: inline-flex; }

/* ---------------------------------------------------------------- Header + menü */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1000; transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 9px 40px -10px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; position: relative; }
.brand { display: block; padding: 5px 10px 5px 0; }
.brand-logo { width: 140px; height: auto; display: block; }
.brand-text { font-size: 1.6rem; color: var(--red); }

.site-nav { display: flex; align-items: center; gap: 0 2em; }
.nav-item, .site-nav > .nav-dropdown > .nav-item { color: #000; font-size: 18px; font-weight: 500; line-height: 79px; display: inline-flex; align-items: center; gap: .3em; }
.nav-item:hover, .nav-item.active, .nav-dropdown:hover > .nav-item { color: var(--navy); }
.nav-arrow { display: inline-flex; }
.nav-caret { display: none; }
.nav-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: 50%; width: 290px; background: #fff; opacity: 0; visibility: hidden; transform: translateX(-20%);
    transition: opacity .3s, visibility .3s; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25); z-index: 5; }
.nav-dropdown:hover > .dropdown-panel, .nav-dropdown:focus-within > .dropdown-panel { opacity: 1; visibility: visible; }
.dropdown-link { display: block; padding: 10px; color: #000; text-align: left; font-size: 14px; font-weight: 700; }
.dropdown-link + .dropdown-link, .dropdown-panel > * + * { border-top: 1px solid #f5f5f5; }
.dropdown-link:hover, .dropdown-link.active { color: var(--red-bright); }
.nav-dropdown--sub > .dropdown-panel { top: 0; left: 100%; transform: none; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 100px; background: var(--navy); border: 0; padding: 0; align-items: center; justify-content: center; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: all .2s ease-out; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bar::before { top: 5px; }
.nav-toggle-bar::after { top: -5px; }
body.nav-open .nav-toggle-bar { background: transparent; }
body.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(-45deg); }
body.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(45deg); }

/* ---------------------------------------------------------------- Anasayfa: slider */
.hero-slider { position: relative; z-index: 3; overflow: hidden; background: #111; }
.hero-track { position: relative; aspect-ratio: 1920 / 810; width: 100%; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; left: 0; bottom: 100px; z-index: 2; width: 60%; min-height: 115px; display: flex; align-items: center;
    background: linear-gradient(97deg, rgba(0, 0, 0, .89) 0%, rgba(40, 42, 95, 0) 100%); }
.hero-caption-inner { display: grid; gap: .4rem; padding: 10px 0; }
.hero-eyebrow { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.hero-caption-title { color: #fff; font-size: 39px; }
.hero-caption-text { color: #fff; font-size: 20px; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero-dots { display: none; }
.hero-nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 100%; border: 2px solid #fff;
    background: transparent; color: #fff; display: grid; place-items: center; padding: 0; transition: background .3s, color .3s; }
.hero-nav:hover { background: #fff; color: #444; }
.hero-prev { left: 50px; }
.hero-next { right: 50px; }

/* ---------------------------------------------------------------- Anasayfa: neden biz */
.why { padding: 50px 0; position: relative; }
.why-head { position: relative; }
.why-title { font-size: 3rem; font-weight: 700; letter-spacing: 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.why-mark { position: absolute; width: 100px; top: 11px; right: 18px; filter: grayscale(100%); opacity: .3; }
.why-item { margin-bottom: 10px; }
.why-item img { width: 80px; height: auto; }
.why-item h3 { margin: 1rem 0; font-size: 18px; font-weight: 400; }
.why-item p { font-size: 13px; font-weight: 400; }
.why-figure { margin: -100px 0 0; position: relative; z-index: 1; }
.why-figure img { width: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Anasayfa: ürünler */
.products-home { background: var(--gray-band); padding: 50px 0; }
.products-home > .container-fluid { padding: 0 15px; }
.products-head { text-align: center; }
.products-head h2 { color: #000; margin-bottom: 30px; font-weight: 700; font-size: 40px; }
.products-head p { margin: 0 auto 30px; color: #000; font-weight: 300; max-width: 1100px; font-size: 19px; }
.product-tile { border: 1px solid #e2e2e2; border-radius: 5px; overflow: hidden; padding: 15px; background: #fff; margin: 0 0 30px; }
.product-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.product-tile h3 { font-size: 14px; margin: 1rem 0; text-transform: uppercase; height: 50px; overflow: hidden; border-top: 1px solid var(--line); padding-top: 8px;
    line-height: 23px; text-align: center; font-weight: 300; }
.product-tile a:hover img { opacity: .85; }

/* ---------------------------------------------------------------- Anasayfa: bizden haberler */
.news-home { position: relative; padding: 50px 0; }
.news-home::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 30%; background: #e9e9e9; }
.news-home .container { position: relative; }
.news-home-title { color: #a7a7a7; margin-bottom: 50px; font-weight: 700; font-size: 40px; text-align: center; }

.news-card { border: 1px solid #f5f7f9; border-radius: 0 0 6px 6px; background: #fff; height: 100%; display: flex; flex-direction: column; }
.news-card-link { display: block; flex: 1; }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px 6px 0 0; }
.news-card-body { padding: 15px 15px 0; }
.news-card-date { height: 26px; line-height: 26px; display: inline-block; margin-bottom: 10px; color: #fff; background: #c4c9d3; padding: 0 7px; border-radius: 3px; font-size: 12px; }
.news-card h3 { font-size: 18px; color: #030304; padding-bottom: 15px; font-weight: 700; position: relative; margin-bottom: 15px; }
.news-card h3::after { content: ''; width: 32px; height: 2px; background: #000; position: absolute; left: 0; bottom: 0; }
.news-card p { font-size: 13px; font-weight: 300; color: #333; margin-bottom: 15px; max-height: 90px; overflow: hidden; }
.news-card-btn { align-self: flex-start; display: inline-block; border: 2px solid transparent; font-size: 14px; background: var(--red); color: #fff; padding: 5px 20px;
    border-radius: 5px; font-weight: 400; margin: 0 0 20px 15px; }
.news-card-btn:hover, .news-card-btn:focus { background: transparent; border-color: var(--navy); color: var(--navy); }

/* ---------------------------------------------------------------- İç sayfa bandı */
.page-banner { position: relative; padding: 42px 0 30px; background: #333 center / cover no-repeat; }
.page-banner-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 48%); z-index: 1; }
.page-banner .container { position: relative; z-index: 2; text-align: center; }
.page-banner-title { color: #fff; font-weight: 700; font-size: 30px; margin-bottom: 10px; text-transform: uppercase; }
.page-banner-title::before, .page-banner-title::after { display: inline-block; width: 25px; height: 3px; background: #fff; content: ''; border-radius: 5px; vertical-align: middle; position: relative; top: -4px; }
.page-banner-title::before { margin-right: 20px; }
.page-banner-title::after { margin-left: 20px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: #fff; font-weight: 300; text-transform: uppercase; font-size: 14px; }
.breadcrumbs li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg);
    margin: 0 12px 0 8px; position: relative; top: -1px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: #fff; opacity: .8; }

/* ---------------------------------------------------------------- İç sayfa içeriği */
.page-content { position: relative; padding: 50px 0; }
.page-text, .prose { color: var(--text); font-size: 15px; font-weight: 400; }
.prose p { line-height: 23px; margin-bottom: 20px; }
.prose h2 { margin: 20px 0; font-size: 1.6rem; color: #000; }
.prose h3 { margin: 18px 0 12px; font-size: 1.25rem; color: #000; }
.prose ul { margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 1.2rem; margin-bottom: .5rem; line-height: 23px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.prose ol { padding-left: 1.4rem; margin-bottom: 20px; }
.prose ol li { margin-bottom: 1rem; line-height: 23px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto; }
.prose > :last-child { margin-bottom: 0; }
.section-lead { color: var(--text); font-weight: 400; text-align: center; margin: 0 auto 2rem; max-width: 900px; }
.listing-empty { color: var(--text); font-weight: 400; }

.page-side-title { background: #000; color: #fff; font-weight: 500; font-size: 22px; padding: 10px; text-transform: uppercase; }
.page-side-link { display: flex; align-items: center; gap: 5px; background: #eee; color: var(--text); font-size: 14px; padding: 10px; transition: background .3s; }
.page-side-link .icon { transition: margin .3s; }
.page-side-link:hover, .page-side-link.is-active { background: #f6f6f6; color: #000; }
.page-side-link:hover .icon { margin-right: 5px; }

.article-cover { width: 100%; margin-bottom: 1rem; }
.article-date { display: inline-block; background: #c4c9d3; color: #fff; font-size: 12px; padding: 0 7px; border-radius: 3px; line-height: 26px; margin-bottom: 1rem; }

/* Ürünler sayfası kutuları (eski .urunBox + kırmızı başlık bandı). */
.product-box { margin: 0; text-align: center; height: 100%; display: flex; flex-direction: column; }
.product-box-media { display: block; border: 1px solid #f1f1f1; padding: 13px 15px 5px; background: #fff; transition: .3s; }
.product-box-media img { width: 97%; aspect-ratio: 3 / 2; object-fit: contain; margin: 0 auto 10px; }
.product-box-media:hover img { opacity: .85; }
.product-box figcaption { flex: 1; display: flex; }
.product-box-title { flex: 1; margin: 0; font-size: 15px; background: var(--red); color: #fff; font-weight: 500; min-height: 44px; padding: 10px 8px; text-transform: uppercase; line-height: 24px; }

.client-grid > div { padding: 10px; }
.client-logo { border: 1px solid #f1f1f1; }
.client-logo img { width: 100%; padding: 2px; }

.gallery-site { margin-top: 1rem; }
.gallery-site > div { margin-bottom: 1.5rem; }
.gallery-site-item { display: block; border: 1px solid #f1f1f1; }
.gallery-site-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------------------------------------------------------------- Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 10010; background: rgba(12, 12, 14, .94); display: grid; place-items: center; padding: 3.5rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- İletişim + form */
.contact-map { margin-bottom: 20px; }
.contact-map iframe { width: 100%; height: 400px; border: 0; display: block; }
.contact-list { background: #f5f5f5; padding: 30px; }
.contact-list li { font-weight: 400; margin-bottom: 1rem; }
.contact-list li:last-child { margin-bottom: 0; }
.contact-list b { font-weight: 700; }
.contact-list a { color: #000; }
.contact-icon { display: inline-grid; place-items: center; background: #000; width: 40px; height: 40px; border-radius: 30px; color: #fff; margin-right: 10px; vertical-align: middle; }
.contact-form h2 { color: #000; margin-bottom: 1%; font-size: 22px; }
.contact-form > p { color: var(--text); font-weight: 400; margin-bottom: 1rem; font-size: 12px; }

.site-form { position: relative; display: flow-root; }
.form-grid { display: flex; flex-wrap: wrap; gap: 0 2%; }
.form-item { flex-grow: 1; min-width: 200px; margin-bottom: 2%; max-width: 100%; }
.form-item[style*="50%"] { flex-basis: 49% !important; flex-grow: 0; }
/* Eski formdaki gibi etiketler görünmez, alan içi yer tutucu kullanılır (ekran okuyucular etiketi okur). */
.form-item > label:not(.form-choice) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-item input:not([type="checkbox"]):not([type="radio"]), .form-item textarea, .form-item select {
    width: 100%; padding: 10px 15px; border-radius: 0; border: 1px solid #aaa; font-size: 13px; font-family: var(--font); font-weight: 400; background: #fff; }
.form-item textarea { height: 80px; resize: none; }
.form-item input:focus, .form-item textarea:focus, .form-item select:focus { outline: none; border-color: #000; }
.form-choice { display: flex; gap: .5rem; align-items: flex-start; font-size: 12px; font-weight: 400; color: var(--text); }
.form-choice input { margin-top: .2rem; accent-color: var(--red); }
.form-choice a { color: var(--red); text-decoration: underline; }
.form-error { color: var(--red); font-size: 12px; font-weight: 400; }
.form-success { background: #f5f5f5; border-left: 4px solid var(--red); padding: .9rem 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.form-submit { float: right; border: 2px solid transparent; transition: all .3s; margin-top: 10px; background: #000; color: #fff; padding: 5px 20px; border-radius: 30px;
    text-transform: uppercase; font-weight: 300; font-family: var(--font); }
.form-submit:hover { background: transparent; border-color: #000; color: #000; }
.form-submit:disabled { opacity: .6; }

.pager { display: flex; justify-content: center; gap: .35rem; margin-top: 2rem; }
.pager-item { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ddd; color: #333; font-weight: 400; }
.pager-item:hover { border-color: var(--red); color: var(--red); }
.pager-item.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.pager-item.is-disabled { opacity: .4; }
.pager-item.is-gap { border: 0; }

.search-form { display: flex; gap: .5rem; max-width: 620px; margin: 0 auto 2rem; }
.search-form input { flex: 1; border: 1px solid #aaa; padding: 10px 15px; font-weight: 400; }
.btn-site { display: inline-flex; align-items: center; gap: .4rem; border: 2px solid transparent; background: var(--red); color: #fff; padding: 6px 22px; border-radius: 5px; font-weight: 400; }
.btn-site:hover { background: transparent; border-color: var(--navy); color: var(--navy); }

.error-page { text-align: center; padding: 5rem 0; }
.error-page p { font-weight: 400; color: var(--text); margin: 1rem 0 1.5rem; }
.error-code { display: block; font-size: 6rem; color: var(--red); line-height: 1; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: #f9f9f9; padding: 20px 0 30px; border-top: 4px solid var(--navy); }
.footer-title { margin-top: 18px; font-size: 18px; font-weight: 700; color: #1d2736; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.footer-contact { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 0 14px; }
.footer-contact li { display: flex; align-items: center; margin-bottom: 20px; font-size: 13px; line-height: 20px; color: #171717; font-weight: 600; }
.footer-contact .icon { width: 35px; color: #000; }
.footer-contact a { color: #171717; }
.footer-contact a:hover { color: var(--navy); }
.footer-links { padding-top: 13px; }
.footer-links li { padding: 5px 0; }
.footer-links a { font-size: 14px; color: #1d2736; display: flex; align-items: center; font-weight: 400; }
.footer-links a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 10px; flex-shrink: 0; }
.footer-links a:hover { color: var(--red); }

.corp { background: #fff; border-top: 1px solid var(--line); }
.corp-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 1.5rem; min-height: 50px; }
.corp p { line-height: 50px; font-weight: 300; font-size: 13px; }
.corp p b { font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: 12px; }
.footer-legal a, .footer-legal button { color: #666; background: none; border: 0; padding: 0; font-size: inherit; font-weight: 400; font-family: var(--font); }
.footer-legal a:hover, .footer-legal button:hover { color: #000; }
.footer-credit { font-size: 14px; font-weight: 400; }
.footer-credit b { font-weight: 700; }
.footer-credit a { color: #000; }

/* ---------------------------------------------------------------- Yukarı çık */
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 990; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff;
    display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: background .2s; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--red); }
body:has(.cms-plugin-whatsapp) .back-to-top { bottom: 92px; right: 26px; }

/* ---------------------------------------------------------------- Mobil alt butonlar (eski .mbBtn) */
.mobile-nav { display: none; }

/* ---------------------------------------------------------------- Çerez Tercih Merkezi */
.cookie-consent { font-weight: 400; }
.cookie-consent[hidden], .cc-modal[hidden], .cc-banner[hidden] { display: none; }
.cc-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 10001; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 6px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .2); border-top: 4px solid var(--red); padding: 1.1rem 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: .86rem; }
.cc-banner-body { flex: 1 1 380px; }
.cc-title { display: block; color: #000; margin-bottom: .25rem; font-weight: 700; }
.cc-text { margin: 0; }
.cc-text a { color: var(--red); text-decoration: underline; }
.cc-banner-actions, .cc-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cc-btn { border: 1px solid #000; background: #fff; color: #000; border-radius: 30px; padding: .5rem 1.1rem; font-size: .84rem; font-weight: 600; cursor: pointer; font-family: var(--font); }
.cc-btn:hover { background: #f1f1f1; }
.cc-btn-accept { background: #000; color: #fff; }
.cc-btn-accept:hover { background: var(--red); border-color: var(--red); }
.cc-modal { position: fixed; inset: 0; z-index: 10002; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cc-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.cc-modal-panel { position: relative; background: #fff; border-radius: 6px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 1.75rem; }
.cc-modal-close { position: absolute; top: .75rem; right: .75rem; background: none; border: 0; cursor: pointer; color: #666; }
.cc-modal-title { font-size: 1.5rem; margin-bottom: .5rem; }
.cc-modal-lead { font-size: .9rem; margin-bottom: 1rem; }
.cc-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #e5e5e5; border-radius: 4px; padding: .9rem 1rem; margin-bottom: .6rem; cursor: pointer; }
.cc-cat-info { display: grid; gap: .15rem; font-size: .85rem; }
.cc-cat-info strong { color: #000; font-size: .92rem; }
.cc-always { font-size: .78rem; color: var(--red); font-weight: 600; white-space: nowrap; }
.cc-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.cc-switch input { position: absolute; opacity: 0; inset: 0; }
.cc-slider { position: absolute; inset: 0; background: #cfd2d5; border-radius: 24px; transition: background .15s; }
.cc-slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .15s; }
.cc-switch input:checked + .cc-slider { background: var(--red); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(20px); }
.cc-modal-actions { margin-top: 1rem; }
.cc-modal-policy { display: inline-block; margin-top: .9rem; font-size: .85rem; color: var(--red); }

/* ---------------------------------------------------------------- Duyarlı */
@media (max-width: 1399.98px) {
    .site-nav { gap: 0 1.5em; }
    .nav-item, .site-nav > .nav-dropdown > .nav-item { font-size: 16px; }
}

@media (max-width: 1199.98px) {
    .products-head p { padding: 0 15px; }
}

@media (max-width: 991.98px) {
    .header-inner { min-height: 70px; }
    .brand-logo { width: 120px; }
    .nav-toggle { display: inline-flex; margin-right: 10px; }
    /* Mobil menü: header altından açılan liste (eski sitedeki gibi ortalı bağlantılar). */
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff;
        border-bottom: 2px solid #5b0909; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .2s ease-out, visibility 0s linear .2s; }
    body.nav-open .site-nav { max-height: calc(100vh - 70px); overflow-y: auto; visibility: visible; transition: max-height .2s ease-out; }
    .nav-item, .site-nav > .nav-dropdown > .nav-item, .dropdown-link { display: block; line-height: 1.4; padding: 10px 0; text-align: center; border-bottom: 1px solid var(--line); font-size: 16px; }
    .nav-item:hover, .dropdown-link:hover { background: #f4f4f4; }
    .nav-arrow { display: none; }
    .nav-dropdown { display: flex; flex-wrap: wrap; }
    .nav-dropdown > .nav-item, .nav-dropdown > .dropdown-link { flex: 1; padding-left: 48px; }
    .nav-caret { display: inline-flex; align-items: center; justify-content: center; width: 48px; background: none; border: 0; border-bottom: 1px solid var(--line); color: #555; }
    .nav-caret svg { transition: transform .2s; }
    .nav-dropdown.is-open > .nav-caret svg { transform: rotate(180deg); }
    .dropdown-panel, .nav-dropdown--sub > .dropdown-panel { position: static; flex-basis: 100%; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        display: none; background: #f7f7f7; }
    .nav-dropdown.is-open > .dropdown-panel { display: block; }
    .dropdown-link { font-size: 14px; }

    .why-figure { margin-top: 1.5rem; max-width: 420px; }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
}

@media (max-width: 767.98px) {
    .topbar { display: none; }
    .hero-caption { bottom: 0; width: 100%; min-height: 0; background: rgba(0, 0, 0, .5); justify-content: center; text-align: center; padding: 15px 0; }
    .hero-caption-title, .hero-caption-text { font-size: 20px; }
    .why-title { font-size: 29px; padding-right: 90px; }
    .why-mark { top: -5px; }
    .why-figure { display: none; }
    .products-head h2, .news-home-title { font-size: 30px; }
    .products-head p { font-size: 14px; }
    .contact-map iframe { height: 320px; }
    .form-item[style*="50%"] { flex-basis: 100% !important; }
    .corp-inner { flex-direction: column; justify-content: center; text-align: center; padding: 10px 0; }
    .corp p { line-height: 30px; }
    .footer-legal { justify-content: center; }
    .lightbox { padding: 3.5rem .5rem; }

    /* Eski sitedeki sabit alt butonlar: WhatsApp tam genişlik, Yol Tarifi + Hemen Ara yan yana. */
    body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
    .mobile-nav { display: flex; flex-wrap: wrap; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1001; padding-bottom: env(safe-area-inset-bottom); background: #000; }
    .mobile-nav-item { flex: 1 1 50%; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: 10px; font-size: 14px; background: #000; color: #fff; }
    .mobile-nav-item:hover, .mobile-nav-item:focus { color: #fff; }
    .mobile-nav-item:last-child { background: var(--navy); }
    .mobile-nav-item.is-whatsapp { flex-basis: 100%; background: var(--whatsapp); }
    .back-to-top { bottom: calc(96px + env(safe-area-inset-bottom)); right: .9rem; width: 40px; height: 40px; }
    .cc-banner { bottom: calc(92px + env(safe-area-inset-bottom)); }
    .cms-plugin-whatsapp { display: none !important; }
    body:has(.cms-plugin-whatsapp) .back-to-top { bottom: calc(96px + env(safe-area-inset-bottom)); right: .9rem; }
}
