/* =====================================================================
   premium.css — CMS entegrasyonu için v3 tema eklentileri.
   theme.css'ten SONRA yüklenir. Sadece CMS'e özgü glue sınıfları.
   ===================================================================== */

/* Bölüm boşlukları */
.section-tight { padding: 28px 0; }

/* Ana menü ikonları (link.icon) — masaüstü nav + dropdown + mobil drawer. */
.site-header .nav-list > li > a .nav-ico,
.site-header .has-drop .drop a .nav-ico,
.drawer nav .nav-ico { margin-right: 6px; opacity: .9; }
.drawer nav .d-parent .nav-ico, .drawer nav > a .nav-ico { color: var(--c-primary); }
img.nav-ico { width: 18px; height: 18px; object-fit: contain; display: inline-block; vertical-align: -4px; }

/* İkili menü (link.ikili=1) → geniş, 2 kolonlu dropdown. */
.site-header .has-drop .drop--2col {
   display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; min-width: 380px;
}

/* Görseli olmayan bagisurun kartları — kırık/boş görsel yerine kategori ikonlu nazik dolgu. */
.media-fallback {
   display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
   background: linear-gradient(135deg, var(--c-light-2), var(--c-light));
   font-size: 2.4rem; color: var(--c-primary);
}
.media-fallback img { width: 56px; height: 56px; object-fit: contain; }

/* İçerik detay tekli kapak görseli — .gallery-main'in aksine KIRPMAZ (crop yok),
   tam genişlik + oranlı (auto) yükseklik. [galeri] yoksa content.php EN ÜSTTE kullanır. */
.content-cover { display: block; margin-bottom: 24px; border-radius: var(--r-md); overflow: hidden; }
.content-cover img { display: block; width: 100%; height: auto; }

/* Görsel kart (faaliyet / infografik carousel slaytı) */
.media-card {
   display: block; position: relative; border-radius: var(--r-lg); overflow: hidden;
   box-shadow: var(--sh-sm); background: var(--c-light-2); aspect-ratio: 4 / 3;
   transition: transform .3s ease, box-shadow .3s ease;
}
.media-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.media-card__cap {
   position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 14px; color: #fff; font-weight: 700;
   font-family: var(--ff-display); font-size: 1rem; line-height: 1.15;
   background: linear-gradient(to top, rgba(17,33,74,.82), transparent);
}

/* Güven bandı (resmi dernek kaydı) */
.trust-band {
   display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
   background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
   box-shadow: var(--sh-sm); padding: clamp(18px, 2.4vw, 28px);
}
.trust-band .tb-ico {
   flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
   background: #eafaf4; color: var(--c-success); font-size: 1.7rem;
}
.trust-band .tb-body { flex: 1 1 320px; min-width: 0; }
.trust-band .tb-body h3 { font-size: 1.15rem; margin: 0 0 4px; color: var(--c-ink); }
.trust-band .tb-body p { margin: 0; color: var(--c-body); font-size: .96rem; }
.trust-band .btn { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 575.98px) {
   .trust-band .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* Ürün kartı alt satırı (tutar + bağış butonu) */
.project-card .desc { color: var(--c-body); font-size: .92rem; margin: 4px 0 2px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.pc-amount { font-family: var(--ff-display); font-weight: 800; color: var(--c-primary); font-size: 1.05rem; }
.sw-scope .project-card { height: 100%; display: flex; flex-direction: column; }
.sw-scope .project-card .body { display: flex; flex-direction: column; flex: 1 1 auto; }

/* Bağış sepeti sidebar */
.donate-panel .basket-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.basket-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.basket-row .br-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.basket-row .br-info b { font-size: .95rem; color: var(--c-ink); }
.basket-row .br-info span { font-size: .88rem; color: var(--c-primary); font-weight: 700; }
.basket-row .br-del { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--r-xs); background: var(--c-light-2); color: var(--c-body); display: grid; place-items: center; transition: all .2s ease; }
.basket-row .br-del:hover { background: #fdecec; color: #d84343; }
.basket-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 16px; font-family: var(--ff-display); }
.basket-total b { font-size: 1.3rem; color: var(--c-primary); }

/* Boş durum */
.empty-state { text-align: center; padding: 60px 20px; color: var(--c-gray); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: 12px; opacity: .5; }
.empty-state p { font-size: 1.05rem; }

/* İletişim sayfası */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 767.98px) { .contact-info { grid-template-columns: 1fr; } }
.ci-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); padding: 18px 20px; }
.ci-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-light-2); color: var(--c-primary); font-size: 1.3rem; }
.ci-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-gray); margin-bottom: 2px; }
.ci-value { color: var(--c-ink); font-weight: 600; }
.ci-value a { color: var(--c-ink); }
.fc-title { font-size: 1.4rem; margin-bottom: 20px; color: var(--c-ink); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); height: 100%; min-height: 320px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.branch-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); padding: 20px; }
.branch-card .bc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--c-ink); padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.branch-card .bc-head a { color: var(--c-primary); font-size: .84rem; font-weight: 700; }
.branch-card .bc-body { padding-top: 12px; color: var(--c-body); font-size: .92rem; line-height: 1.7; }
.branch-card .bc-body a { color: var(--c-primary); }

/* İçerik detay — video embed + bağış ilerlemesi */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.content video { width: 100%; border-radius: var(--r-lg); display: block; box-shadow: var(--sh-sm); }
.donate-progress { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 22px; margin: 0 0 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donate-progress .progress { flex: 1 1 320px; margin: 0; }
.donate-progress .btn { flex: 0 0 auto; }
@media (max-width: 575.98px) { .donate-progress .btn { width: 100%; justify-content: center; } }

/* Zekat hesaplama sonucu */
.zekat-result { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.zekat-result li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--c-line); font-size: .98rem; }
.zekat-result li:last-child { border-bottom: 0; }
.zekat-result li:nth-child(odd) { background: var(--c-light-2); }
.zekat-result li b { font-family: var(--ff-display); }
.zekat-result li.is-primary { background: #eafaf4; color: var(--c-success); font-weight: 700; }
.theme-v3 .zekat-result li.is-primary { background: #eafaf4; color: var(--c-success); }
.zekat-note { font-size: .82rem; color: var(--c-gray); line-height: 1.7; margin: 12px 0 0; padding-left: 18px; }

/* Banka hesapları */
.bank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 767.98px) { .bank-grid { grid-template-columns: 1fr; } }
.bank-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden; }
.bank-card .bank-head { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--c-line); }
.bank-card .bank-logo { flex: 0 0 auto; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--c-light-2); display: grid; place-items: center; overflow: hidden; }
.bank-card .bank-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bank-card .bank-name { font-family: var(--ff-display); font-weight: 800; color: var(--c-ink); font-size: 1.05rem; }
.bank-card .bank-name small { display: block; font-family: var(--ff-body); font-weight: 500; color: var(--c-gray); font-size: .82rem; }
.bank-account { padding: 16px 20px; border-bottom: 1px dashed var(--c-line); }
.bank-account:last-child { border-bottom: 0; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
.bank-row .lbl { font-size: .8rem; color: var(--c-gray); text-transform: uppercase; letter-spacing: .04em; }
.bank-row .val { font-weight: 600; color: var(--c-ink); font-size: .94rem; }
.bank-row .val.iban { font-family: var(--ff-display); letter-spacing: .02em; }
.bank-copy { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--r-xs); background: var(--c-light-2); color: var(--c-primary); display: grid; place-items: center; transition: all .2s ease; }
.bank-copy:hover { background: var(--c-primary); color: #fff; }
.theme-v3 .bank-copy { color: var(--c-success); }
.theme-v3 .bank-copy:hover { background: var(--c-success); color: #fff; }

/* Hesap paneli — kişisel bilgiler onay ızgarası */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; margin-top: 8px; }

/* Hesap paneli — bağış geçmişi filtre + tablo */
.filter-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 20px; }
.filter-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end; }
.filter-form .btn { height: 46px; }
@media (max-width: 767.98px) { .filter-form { grid-template-columns: 1fr; } }
.amount-pill { display: inline-block; background: #eafaf4; color: var(--c-success); padding: 5px 12px; border-radius: 100px; font-weight: 700; font-size: .86rem; white-space: nowrap; }

/* İçerik detay — satır içi bağış widget'ı */
.donate-inline { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 22px; margin: 28px 0; }
.donate-inline .di-title { font-size: 1.15rem; margin: 0; color: var(--c-ink); }
.donate-inline .di-more { font-size: .88rem; font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.di-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.di-select { flex: 1 1 200px; min-width: 180px; }
.di-stepper { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.di-stepper button { width: 42px; height: 46px; border: 0; background: var(--c-light-2); color: var(--c-ink); cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.di-stepper button:hover { background: var(--c-line); }
.di-stepper input { width: 96px; height: 46px; border: 0; text-align: center; font-weight: 700; font-family: var(--ff-display); background: transparent; }
.di-stepper input:focus { outline: none; }
.di-stepper .cur { padding-right: 10px; font-weight: 700; color: var(--c-gray); }
@media (max-width: 575.98px) { .di-form .btn, .di-select, .di-stepper { width: 100%; } .di-stepper input { flex: 1 1 auto; width: auto; } }

/* Başarılı bağış sayfası */
.success-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: clamp(32px, 5vw, 56px) 28px; }
.success-card .success-ico { font-size: 4.5rem; line-height: 1; color: var(--c-success); display: block; margin-bottom: 12px; }
.success-card h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--c-ink); margin: 0 0 12px; }
.success-card p { color: var(--c-body); margin: 0 auto; max-width: 520px; }
.success-card .ref { font-size: .88rem; color: var(--c-gray); margin-top: 10px; }
.success-card .success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Sepet + Ödeme */
.cart-card, .summary-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 24px; }
.cart-list { display: flex; flex-direction: column; }
.cart-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { flex: 0 0 auto; width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-light-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-info b { color: var(--c-ink); font-size: .98rem; }
.cart-info .cart-cat { color: var(--c-success); font-size: .84rem; font-weight: 600; }
.cart-info small { color: var(--c-gray); font-size: .82rem; }
.cart-qty { flex: 0 0 auto; display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.cart-qty button { width: 36px; height: 40px; border: 0; background: var(--c-light-2); color: var(--c-ink); cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.cart-qty button:hover { background: var(--c-line); }
.cart-qty input { width: 44px; height: 40px; border: 0; text-align: center; font-weight: 700; background: transparent; }
.cart-qty input:focus { outline: none; }
.cart-price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 90px; }
.cart-price b { font-family: var(--ff-display); font-size: 1.15rem; color: var(--c-ink); }
.cart-del { border: 0; background: none; color: var(--c-gray); cursor: pointer; font-size: 1rem; transition: color .2s ease; }
.cart-del:hover { color: #d84343; }
.cart-total { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--ff-display); }
.cart-total b { font-size: 1.5rem; color: var(--c-success); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.checkout-summary { position: sticky; top: 96px; }
.summary-card h3 { font-family: var(--ff-display); font-size: 1.2rem; margin: 0 0 8px; color: var(--c-ink); }
@media (max-width: 991.98px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-summary { position: static; } }
@media (max-width: 575.98px) { .cart-row { flex-wrap: wrap; } .cart-price { min-width: 0; } }

/* Burs öğrenci seçim kartı (content detay) */
.student-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); padding: 14px; }
.student-photo { flex: 0 0 auto; width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-light-2); }
.student-photo img { width: 100%; height: 100%; object-fit: cover; }
.student-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.student-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.student-head b { color: var(--c-ink); }
.student-amount { flex: 0 0 auto; background: #eafaf4; color: var(--c-success); padding: 3px 10px; border-radius: 100px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.student-body p { margin: 0; color: var(--c-body); font-size: .86rem; }

/* İçerik galeri ([galeri] shortcode → galeriReplace, fancybox lightbox) */
.gallery-slick { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 24px 0; }
.gallery-item { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; aspect-ratio: 1 / 1; background: var(--c-light-2); box-shadow: var(--sh-xs); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item::after { content: "\F3E5"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.5rem; background: rgba(15,23,42,.35); opacity: 0; transition: opacity .25s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.prose .gallery-slick img { margin: 0; }
@media (max-width: 575.98px) { .gallery-slick { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Özel modal (siAlert — SweetAlert2 yerine)
   ========================================================= */
.si-modal { position: fixed; inset: 0; z-index: 4000; display: none; align-items: center; justify-content: center; padding: 20px; }
.si-modal.is-open { display: flex; }
html.si-modal-open { overflow: hidden; }
.si-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); animation: siFade .2s ease; }
.si-modal__box { position: relative; z-index: 1; width: 100%; max-width: 420px; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .45); padding: 38px 30px 30px; text-align: center; animation: siPop .35s cubic-bezier(.2, .8, .3, 1.1); }
.si-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--c-light-2); color: var(--c-gray); cursor: pointer; display: grid; place-items: center; transition: all .2s ease; }
.si-modal__close:hover { background: #fdecec; color: #d84343; transform: rotate(90deg); }
.si-modal__icon { width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; }
.si-modal__icon svg { width: 84px; height: 84px; }
.si-modal__title { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 800; color: var(--c-ink); margin: 0 0 8px; }
.si-modal__text { color: var(--c-body); font-size: 1rem; line-height: 1.55; margin: 0 0 24px; }
.si-modal__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.si-modal__actions .btn { flex: 1 1 auto; min-width: 130px; }
.si-modal__box--error .si-modal__confirm { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 10px 24px -8px rgba(220, 38, 38, .5); }
.si-modal__box--warning .si-modal__confirm { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 10px 24px -8px rgba(217, 119, 6, .5); }

/* Glyph ikonlar (warning/question/info) */
.si-modal__icon .sim-glyph { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 2.6rem; font-weight: 800; animation: siPop .4s cubic-bezier(.2, .8, .3, 1.1); }
.si-modal__box--warning .sim-glyph { background: #fff7ed; color: #f59e0b; }
.si-modal__box--question .sim-glyph { background: #eff6ff; color: var(--c-primary); }
.si-modal__box--info .sim-glyph { background: #eff6ff; color: var(--c-primary); }

/* Animasyonlu success check */
.sim-check__circle { fill: none; stroke: #eafaf4; stroke-width: 3; }
.sim-check { --si-ok: var(--c-success, #16a34a); }
.si-modal__box--success .si-modal__icon svg .sim-check__circle { stroke: #d7f5e6; }
.sim-check__mark { fill: none; stroke: var(--c-success, #16a34a); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: siDraw .5s .15s ease forwards; }
.si-modal__box--success .si-modal__icon { background: #eafaf4; border-radius: 50%; }
.si-modal__box--success .sim-check__circle { stroke: #bff0da; }

/* Animasyonlu error X */
.sim-x__circle { fill: none; stroke: #fde2e2; stroke-width: 3; }
.sim-x__l1, .sim-x__l2 { fill: none; stroke: #ef4444; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 26; stroke-dashoffset: 26; }
.sim-x__l1 { animation: siDraw .3s .15s ease forwards; }
.sim-x__l2 { animation: siDraw .3s .32s ease forwards; }
.si-modal__box--error .si-modal__icon { background: #fdecec; border-radius: 50%; }

@keyframes siFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes siPop { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes siDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .si-modal__box, .sim-check__mark, .sim-x__l1, .sim-x__l2, .sim-glyph { animation: none; stroke-dashoffset: 0; } }

/* theme-v3 yeşil aksan */
.theme-v3 .ci-ico { color: var(--c-success); }
.theme-v3 .trust-band .tb-ico { background: #eafaf4; color: var(--c-success); }
.theme-v3 .pc-amount { color: var(--c-success); }
.theme-v3 .basket-row .br-info span, .theme-v3 .basket-total b { color: var(--c-success); }

/* =====================================================================
   18. tur düzeltmeleri
   ===================================================================== */

/* --- Bootstrap compat layer (.btn:hover{color:var(--bs-btn-hover-color)}) özel butonların
   yazısını hover'da griye çekiyordu. Yüksek specificity ile variant renklerini geri ver. --- */
.btn.btn--primary, .btn.btn--primary:hover, .btn.btn--primary:focus, .btn.btn--primary:active,
.btn.btn--gradient, .btn.btn--gradient:hover, .btn.btn--gradient:focus, .btn.btn--gradient:active,
.btn.btn--accent, .btn.btn--accent:hover, .btn.btn--accent:focus, .btn.btn--accent:active { color: #fff; }
/* outline: normalde primary yazı; hover'da arka plan primary olduğu için yazı BEYAZ olmalı
   (aksi halde mavi-üstüne-mavi okunmaz kalıyordu). */
.btn.btn--outline, .btn.btn--outline:focus { color: var(--c-primary); }
.btn.btn--outline:hover { color: #fff; }
.btn.btn--ghost, .btn.btn--ghost:hover, .btn.btn--ghost:focus { color: var(--c-ink); }

/* --- Mobil drawer: açılır/kapanır alt menü + garanti iç scroll --- */
.drawer { max-height: 100dvh; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer nav .d-parent {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 6px; border: 0; border-bottom: 1px solid var(--c-line);
  background: none; font-family: inherit; font-weight: 600; font-size: 1rem;
  color: var(--c-ink); cursor: pointer; text-align: left;
}
.drawer nav .d-parent .d-caret { transition: transform .25s ease; font-size: .9rem; color: var(--c-gray); }
.drawer nav .d-parent.is-open .d-caret { transform: rotate(180deg); }
.drawer nav .d-parent.is-open { color: var(--c-primary); }
.drawer .d-sub { overflow: hidden; }
.drawer .d-sub a:first-child { font-weight: 600; color: var(--c-primary); }
