/* ==========================================================================
   Gaziantep İşitme Cihazları teması
   Bootstrap 5 üzerine: marka rengi #19B4B6, başlıklar Poppins.
   ========================================================================== */

/* ---------- Tokenlar ---------- */
:root {
    --brand: #19b4b6;
    --brand-dark: #12908f;
    --brand-soft: #e7f7f7;
    --ink: #1d2327;
    --text: #4a5358;
    --muted: #7b858a;
    --line: #e4e8ea;
    --surface: #f5f7f8;
    --footer: #ebebeb;
    --radius: 6px;
    --shadow: 0 6px 24px rgba(20, 40, 45, .08);
    --header-h: 86px;
    --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Temel ---------- */
body {
    font-family: var(--font-body);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    background: #fff;
}

h1, h2, h3, h4, .section-title, .block-title {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.3;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; }
.icon { flex-shrink: 0; vertical-align: middle; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: .6rem 1rem;
    background: var(--ink);
    color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.section { padding: 64px 0; }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); text-align: center; margin-bottom: 2rem; }
.section-lead { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.block-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.listing-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2rem 0; }

/* ---------- Butonlar ---------- */
.btn-primary-site,
.btn-outline-site,
.btn-light-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.4rem;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary-site { background: var(--brand); color: #fff; }
.btn-primary-site:hover { background: var(--brand-dark); color: #fff; }
.btn-outline-site { background: #fff; border-color: var(--brand); color: var(--brand-dark); }
.btn-outline-site:hover { background: var(--brand); color: #fff; }
.btn-light-site { background: #fff; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .95rem; }
.btn-light-site:hover { background: var(--ink); color: #fff; }
.btn-sm-site { padding: .55rem 1.2rem; font-size: .8rem; }

/* ---------- Topbar + Header ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: .875rem; }
.topbar-inner { display: flex; gap: 1.75rem; padding: .5rem 12px; }
.topbar a { color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar a:hover { color: var(--brand); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand-logo { width: 200px; height: auto; display: block; }
.brand-text { font-family: var(--font-head); font-weight: 600; color: var(--brand); font-size: 1.25rem; }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.nav-item,
.dropdown-link {
    font-family: var(--font-head);
    font-size: .9rem;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .02em;
}
.nav-item { padding: .6rem .8rem; }
.nav-item:hover, .nav-item.active { color: var(--brand); }
.nav-item.nav-cta {
    margin-left: 1rem;
    background: var(--brand);
    color: #fff;
    padding: .7rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: .06em;
}
.nav-item.nav-cta:hover { background: var(--brand-dark); color: #fff; }

.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > .nav-item { padding-right: .2rem; }
.nav-caret { background: none; border: 0; padding: .4rem .5rem .4rem .1rem; color: var(--ink); line-height: 0; cursor: pointer; }
.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    border-top: 3px solid var(--brand);
    box-shadow: var(--shadow);
    padding: .5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-link { display: block; padding: .55rem 1.2rem; text-transform: none; font-size: .92rem; }
.dropdown-link:hover, .dropdown-link.active { background: var(--brand-soft); color: var(--brand-dark); }

.lang-switch { display: inline-flex; gap: .4rem; margin-left: 1rem; font-size: .85rem; }
.lang-switch a { color: var(--muted); }
.lang-switch a.is-current { color: var(--brand); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: .4rem; line-height: 0; }
.nav-toggle-close { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: clamp(440px, 62vh, 700px);
    display: flex;
    align-items: center;
    color: #fff;
    background: #2a2a2a var(--hero-image) center / cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 20, .72) 0%, rgba(20, 20, 20, .38) 55%, rgba(20, 20, 20, 0) 100%);
}
.hero .container { position: relative; }
.hero-body { max-width: 620px; padding: 4rem 0; }
.hero-title { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; margin-bottom: 1.75rem; }
.hero-title span { display: block; }
.hero-text { border-left: 3px solid #fff; padding-left: 1rem; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Kısa tanıtım ---------- */
.about-intro { text-align: center; }
.about-intro p { max-width: 880px; margin: 0 auto .4rem; font-size: .95rem; }
.about-intro .section-title { margin-bottom: 1.25rem; }

/* ---------- Marka / ürün / yazı ızgaraları ---------- */
.brands { border-top: 1px solid var(--line); }
.brand-grid,
.product-grid,
.post-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.brand-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.brand-card,
.product-card,
.post-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1rem 1.5rem;
    transition: box-shadow .2s ease, transform .2s ease;
}
.brand-card:hover,
.product-card:hover,
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.brand-card-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; width: 100%; margin-bottom: 1.25rem; }
.brand-card-logo img { max-height: 120px; object-fit: contain; }

.product-card-media,
.post-card-media { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 1rem; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.product-card-title,
.post-card-title { font-size: .95rem; font-weight: 400; margin: 0 0 1rem; flex-grow: 1; }
.product-card-title a,
.post-card-title a { color: var(--ink); }
.product-card-title a:hover,
.post-card-title a:hover { color: var(--brand); }
.post-card .btn-primary-site { margin-bottom: .9rem; }
.post-card-title { margin: 0; }

/* ---------- SSS ---------- */
.faq {
    background-color: #f2f2f2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%23d8dcdd' font-family='Arial' font-weight='700'%3E%3Ctext x='18' y='92' font-size='96'%3E%3F%3C/text%3E%3Ctext x='130' y='60' font-size='54'%3E%3F%3C/text%3E%3Ctext x='120' y='200' font-size='120'%3E%3F%3C/text%3E%3Ctext x='30' y='196' font-size='44'%3E%3F%3C/text%3E%3C/g%3E%3C/svg%3E");
}
.faq-list { max-width: 820px; }
.faq .section-title { text-align: left; }
.faq-item { background: rgba(255, 255, 255, .92); border-radius: 4px; margin-bottom: .6rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.faq-item summary { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: .98rem; font-weight: 500; margin: 0; }
.faq-icon { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border: 1.5px solid var(--brand); color: var(--brand); border-radius: 3px; transition: transform .2s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-answer { padding: 0 1.25rem 1.1rem 3.3rem; font-size: .95rem; }
.faq-answer p { margin: 0; }

/* ---------- Carousel (yatay kaydırma + oklar) ---------- */
.carousel-site { position: relative; }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 1.25rem) / 5);
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: .5rem .1rem 1rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav {
    position: absolute;
    top: 40%;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow);
    cursor: pointer;
}
.carousel-nav:hover { background: var(--brand); color: #fff; }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
.carousel-nav[disabled] { opacity: 0; pointer-events: none; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--brand); color: #fff; overflow: hidden; margin-top: 40px; }
.cta-inner { position: relative; display: flex; align-items: center; min-height: 290px; }
.cta-body { position: relative; z-index: 1; max-width: 560px; padding: 3.5rem 0; }
.cta-body h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 600; margin-bottom: 1rem; }
.cta-body p { font-size: 1.1rem; margin-bottom: 1.75rem; }
.cta-image { position: absolute; right: 8%; bottom: 0; width: min(46%, 520px); max-height: 120%; object-fit: contain; object-position: bottom; }

/* ---------- Sayfa başlığı bandı ---------- */
.page-banner { background: #29b6b9; padding: 2.4rem 0 1.9rem; }
.page-banner-title { color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 400; text-transform: uppercase; margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: .5rem 0 0; font-size: .82rem; }
.breadcrumbs li { color: rgba(29, 35, 39, .75); }
.breadcrumbs li + li::before { content: '/'; margin-right: .35rem; opacity: .6; }
.breadcrumbs a { color: var(--ink); }
.breadcrumbs a:hover { color: #fff; }

/* ---------- İçerik tipografisi ---------- */
.prose { font-size: .98rem; }
.prose h2 { font-size: 1.45rem; margin: 1.75rem 0 .75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 .4rem; }
.prose p { margin-bottom: .9rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .3rem; }
.prose li::marker { color: var(--brand); }
.prose > :first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .75rem; }

/* ---------- Ürün detay ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
.product-gallery-main { margin: 0 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: #fff; }
.product-gallery-main img { max-height: 100%; object-fit: contain; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .6rem; }
.product-gallery-thumbs button { border: 2px solid var(--line); border-radius: 4px; padding: 0; background: #fff; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.product-gallery-thumbs button.is-active,
.product-gallery-thumbs button:hover { border-color: var(--brand); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-brand { display: inline-block; font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand-dark); padding: .25rem .7rem; border-radius: 3px; margin-bottom: 1rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.tabs-site { margin-top: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabs-site-nav { display: flex; flex-wrap: wrap; background: var(--surface); border-bottom: 1px solid var(--line); }
.tabs-site-nav button { flex: 1 1 auto; border: 0; background: none; padding: 1rem 1.25rem; font-family: var(--font-head); font-size: .95rem; color: var(--ink); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs-site-nav button.is-active { background: #fff; color: var(--brand-dark); border-bottom-color: var(--brand); }
.tabs-site-panel { padding: 1.5rem 1.75rem; }

.related-products { background: var(--surface); }

/* ---------- Bilgi bankası yazı ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.article-cover { margin: 0 0 1.75rem; }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); }
.article-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.aside-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.aside-post { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .9rem; line-height: 1.4; }
.aside-post img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.aside-post:hover { color: var(--brand); }
.aside-cta { display: grid; gap: .3rem; margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--radius); background: var(--brand); color: #fff; }
.aside-cta:hover { background: var(--brand-dark); color: #fff; }
.aside-cta span { font-size: .88rem; opacity: .9; }

/* ---------- Genel sayfa ---------- */
.page-layout.has-image { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.page-image img { border-radius: var(--radius); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; color: var(--ink); }
.contact-list .icon { color: var(--brand); margin-top: .3rem; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--brand); }
.contact-map { margin-top: 3rem; }
.contact-map iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }

/* ---------- İşitme testi ---------- */
.hearing-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.hearing-image img { border-radius: var(--radius); width: 100%; }
.hearing-lead { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.hearing-player { display: flex; align-items: center; gap: 1rem; background: var(--brand-soft); color: var(--brand-dark); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0 1.75rem; }
.hearing-player audio { flex: 1; min-width: 0; }

/* ---------- Formlar ---------- */
.form-grid { display: flex; flex-wrap: wrap; gap: 1rem 1rem; }
.form-item { flex-grow: 1; min-width: min(100%, 240px); display: flex; flex-direction: column; }
.form-item label,
.form-item .form-label { font-size: .88rem; color: var(--ink); margin-bottom: .35rem; font-weight: 500; }
.site-form input[type='text'],
.site-form input[type='email'],
.site-form input[type='tel'],
.site-form input[type='number'],
.site-form input[type='url'],
.site-form input[type='date'],
.site-form select,
.site-form textarea {
    width: 100%;
    border: 1px solid #dcdfe1;
    background: #fafafa;
    border-radius: 3px;
    padding: .7rem .8rem;
    font-size: .95rem;
    color: var(--ink);
}
.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(25, 180, 182, .15); }
.form-choice { display: inline-flex; align-items: center; gap: .45rem; font-weight: 400; margin-right: 1.25rem; font-size: .92rem; }
.form-choice input { accent-color: var(--brand); }
.form-kvkk { align-items: flex-start; }
.form-kvkk input { margin-top: .35rem; }
.form-error { color: #c62828; font-size: .82rem; margin-top: .25rem; }
.form-success { background: #e6f6ee; color: #1b6b3f; border-radius: 4px; padding: .8rem 1rem; }
.form-submit { margin-top: 1.25rem; min-width: 160px; }

/* ---------- Arama / hata ---------- */
.search-form { display: flex; gap: .6rem; max-width: 560px; margin: 0 auto 2.5rem; }
.search-form input { flex: 1; border: 1px solid var(--line); border-radius: 4px; padding: .7rem .9rem; }
.error-page { text-align: center; padding: 96px 0; }
.error-code { display: block; font-family: var(--font-head); font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; color: var(--brand); line-height: 1; }
.error-page p { max-width: 520px; margin: 1rem auto 2rem; }

/* ---------- Sayfalama ---------- */
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pager-item { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); padding: 0 .6rem; }
.pager-item.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-item.is-disabled, .pager-item.is-gap { opacity: .45; }
a.pager-item:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); padding: 56px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2rem; }
.footer-brand img { width: 200px; height: auto; }
.footer-text { margin-top: 1rem; font-size: .88rem; }
.footer-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 1.25rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--brand-dark); }
.footer-contact address { font-style: normal; color: var(--ink); margin: 0 0 .4rem; }
.footer-contact .footer-strong { color: var(--ink); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; border-top: 1px solid #d6d9da; padding: 1.25rem 0 1.5rem; color: var(--ink); font-size: .88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal a, .footer-legal button { color: var(--muted); background: none; border: 0; padding: 0; font-size: .85rem; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--brand-dark); }
.footer-credit a { color: var(--ink); }
.footer-social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #d6d9da; border-radius: 50%; color: var(--ink); transition: background-color .15s, border-color .15s, color .15s; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Mobil alt bar ---------- */
.mobile-bar { display: none; }

/* ---------- Çerez tercih merkezi (sınıflar/kancalar çekirdek referansıyla aynı) ---------- */
.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;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
    padding: 1.25rem 1.5rem;
    font-size: .9rem;
}
.cc-banner-body { flex: 1 1 380px; }
.cc-title { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: .25rem; }
.cc-text { margin: 0; }
.cc-banner-actions, .cc-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cc-btn { border: 1px solid var(--brand); background: #fff; color: var(--brand-dark); border-radius: 4px; padding: .55rem 1rem; font-size: .85rem; font-weight: 500; cursor: pointer; }
.cc-btn:hover { background: var(--brand-soft); }
.cc-btn--accept { background: var(--brand); color: #fff; }
.cc-btn--accept:hover { background: var(--brand-dark); }
.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: 8px; 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; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cc-modal-title { font-size: 1.25rem; }
.cc-modal-lead { font-size: .9rem; }
.cc-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 6px; padding: .9rem 1rem; margin-bottom: .6rem; cursor: pointer; }
.cc-cat-info { display: grid; gap: .15rem; font-size: .85rem; }
.cc-cat-info strong { color: var(--ink); font-size: .92rem; }
.cc-always { font-size: .78rem; color: var(--brand-dark); 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: #cfd5d8; 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(--brand); }
.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; }

/* WhatsApp eklentisi sol altta; mobilde alt barda zaten var. */
.cms-plugin-whatsapp { bottom: 24px !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
    .carousel-track { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); }
    .nav-item { padding: .6rem .55rem; font-size: .85rem; }
    .nav-item.nav-cta { margin-left: .5rem; padding: .65rem 1.2rem; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 72px; }
    .brand-logo { width: 170px; }
    .nav-toggle { display: inline-flex; }
    .nav-open .nav-toggle-open { display: none; }
    .nav-open .nav-toggle-close { display: inline; }
    .site-nav {
        position: fixed;
        top: var(--nav-top, var(--header-h));
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        padding: .5rem 1.25rem 6rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .25s ease;
        border-top: 1px solid var(--line);
    }
    .nav-open .site-nav { transform: none; }
    .nav-item { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
    .nav-dropdown { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-dropdown > .nav-item { flex: 1; border-bottom: 0; }
    .nav-caret { padding: .9rem .5rem; }
    .nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }
    .dropdown-panel { position: static; flex-basis: 100%; box-shadow: none; border-top: 0; padding: 0 0 .5rem .75rem; opacity: 1; visibility: visible; transform: none; display: none; }
    .nav-dropdown:hover .dropdown-panel { display: none; }
    .nav-dropdown.is-open .dropdown-panel { display: block; }
    .nav-item.nav-cta { margin: 1.25rem 0 0; text-align: center; border-bottom: 0; }
    .lang-switch { margin: 1rem 0 0; }

    .carousel-track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); }
    .product-layout, .article-layout, .contact-grid, .hearing-grid, .page-layout.has-image { grid-template-columns: 1fr; gap: 2rem; }
    .product-gallery, .article-aside { position: static; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-image { right: -4%; width: 50%; opacity: .9; }
}

@media (max-width: 767.98px) {
    body { padding-bottom: 60px; }
    .section { padding: 44px 0; }
    .topbar-inner { justify-content: center; gap: 1rem; font-size: .8rem; }
    .hero { min-height: 480px; }
    .hero::before { background: rgba(20, 20, 20, .55); }
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .brand-card, .product-card, .post-card { padding: .9rem .6rem 1.1rem; }
    .carousel-track { grid-auto-columns: calc((100% - 1.25rem) / 2); }
    .carousel-prev { left: -8px; }
    .carousel-next { right: -8px; }
    .cta-inner { flex-direction: column; align-items: flex-start; min-height: 0; }
    .cta-body { padding: 2.5rem 0 1rem; }
    .cta-image { position: static; width: 70%; align-self: flex-end; margin-top: -1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .tabs-site-panel { padding: 1.25rem; }

    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: flex;
        background: var(--ink);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
    }
    /* Dört öğe (Ara · Yol Tarifi · WhatsApp · Instagram) yan yana sığsın diye ikon
       etiketin üstünde duruyor: 320 px genişlikte de etiketler kırpılmadan okunuyor,
       bar yüksekliği değişmediği için body'nin 60 px alt boşluğu yetiyor. */
    .mobile-bar a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem; padding: .55rem .2rem .5rem; color: #fff; font-size: .68rem; font-weight: 500; line-height: 1.2; text-align: center; }
    .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
    .mobile-bar .mobile-bar-wa { background: #25d366; }
    .cms-plugin-whatsapp { display: none !important; }
    .cc-banner { bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
