/* ==========================================================================
   BiMektubum teması — logodaki renkler: lacivert mürekkep, bordo kalp, krem kağıt.
   ========================================================================== */
:root {
    --navy: #26304E;           /* logo: zarf ve "Mektup" yazısı */
    --navy-dark: #1B2238;
    --burgundy: #8E2235;       /* logo: "Bi" ve zarfın sağ yarısı */
    --burgundy-dark: #6F1A29;
    --heart: #A8263A;          /* logo: kalp */
    --paper: #F7F6F0;          /* logo zemini */
    --paper-2: #EFECE2;
    --line: #E3DFD2;
    --ink: #232A3D;
    --muted: #686D7A;
    /* Zemin olarak kullanÄ±lan sabit marka renkleri (Ã¼stÃ¼nde beyaz yazÄ±; koyu modda da aynÄ± kalÄ±r) */
    --navy-solid: #26304E;
    --burgundy-solid: #8E2235;
    --burgundy-solid-dark: #6F1A29;
    --brand-gradient: linear-gradient(90deg, var(--navy-solid) 0%, var(--burgundy-solid) 100%);

    /* YÃ¼zeyler (kart, panel) ve yumuÅŸak tonlar */
    --surface: #fff;
    --surface-2: #fbfaf6;
    --header-bg: rgba(247, 246, 240, .92);
    --soft-navy: #E3E6EF;
    --soft-burgundy: #f6eef0;
    --soft-success: #edf5ee;
    --soft-success-border: #cfe5d3;

    /* Eski adlar (görünümlerde kullanılıyor) */
    --brand: var(--burgundy-solid);
    --brand-dark: var(--burgundy-solid-dark);
    --muted-bg: var(--paper-2);

    --font-serif: "Lora", Georgia, "Times New Roman", serif;

    /* Bootstrap ile uyum */
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-link-color-rgb: 38, 48, 78;
    --bs-link-hover-color-rgb: 142, 34, 53;
    --bs-border-color: var(--line);
    --bs-secondary-color: var(--muted);
}

html { font-size: 15px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    color: var(--ink);
    background: var(--paper);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Yandan kayarak gelen öğeler belirmeden önce yatay kaydırma çubuğu açmasın
   (clip, sticky menüyü bozmaz; hidden bozardı). */
main { flex: 1; overflow-x: clip; }

h1, h2, h3, .h1, .h2, .h3, .display-5, .display-6 { font-family: var(--font-serif); color: var(--navy); font-weight: 600; }
h4, h5, h6, .h4, .h5, .h6 { color: var(--navy); }
.text-muted { color: var(--muted) !important; }

a { color: var(--navy); text-decoration-color: rgba(38, 48, 78, .35); text-underline-offset: 2px; }
a:hover { color: var(--burgundy); }
.min-w-0 { min-width: 0; }

/* Butonlar: ana eylem bordo, ikincil lacivert */
.btn-primary {
    --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark);
    --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
    --bs-btn-focus-shadow-rgb: 142, 34, 53;
}
.btn-outline-primary {
    --bs-btn-color: var(--burgundy); --bs-btn-border-color: var(--burgundy);
    --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark); --bs-btn-active-color: #fff;
}
.btn-outline-secondary {
    --bs-btn-color: var(--navy); --bs-btn-border-color: var(--outline-border, rgba(38, 48, 78, .35));
    --bs-btn-hover-bg: var(--navy-solid); --bs-btn-hover-border-color: var(--navy-solid); --bs-btn-hover-color: #fff;
}
.btn-lg { font-weight: 600; }

/* Formlar */
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: rgba(142, 34, 53, .55);
    box-shadow: 0 0 0 .2rem rgba(142, 34, 53, .15);
}
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* Kartlar kağıt zeminde beyaz durur */
.card { --bs-card-border-color: var(--line); --bs-card-bg: var(--surface); --bs-card-cap-bg: var(--surface-2); border-radius: .75rem; }
.list-group { --bs-list-group-border-color: var(--line); }
.accordion { --bs-accordion-bg: var(--surface); --bs-accordion-active-bg: var(--soft-burgundy); --bs-accordion-active-color: var(--burgundy); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(142, 34, 53, .15); }
.alert-success { --bs-alert-bg: var(--soft-success); --bs-alert-border-color: var(--soft-success-border); }

/* Durum rozetleri: marka paleti */
.badge-navy { background: var(--navy-solid); color: #fff; }
.badge-soft-navy { background: var(--soft-navy); color: var(--navy); }

/* ---------- Üst menü ---------- */
.site-header { background: var(--header-bg); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 1030; }
.site-header::after { content: ""; display: block; height: 3px; background: var(--brand-gradient); }
.site-header .nav-link { color: var(--navy); font-weight: 500; }
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--burgundy); }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark { height: 34px; width: auto; }
.brand-word { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--navy); }
.brand-word .bi { color: var(--burgundy); font-style: italic; }

/* ---------- Ana sayfa ---------- */
.hero {
    background:
        radial-gradient(ellipse at 85% 20%, rgba(142, 34, 53, .08), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(38, 48, 78, .08), transparent 50%),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.hero-art { width: 100%; max-width: 460px; height: auto; }
/* Alt alta dizilince logo başlığı ekranın dışına itmesin */
@media (max-width: 991.98px) { .hero-art { max-width: 280px; } }
@media (max-width: 575.98px) { .hero-art { max-width: 220px; } }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; }
.hero h1 em { color: var(--burgundy); }
.hero .lead { color: var(--ink); }
.hero-paper { transform: rotate(-2deg); max-width: 460px; margin: 0 auto; }
.hero-paper::after {
    content: "♥"; position: absolute; right: -14px; top: -16px; font-size: 1.6rem; color: var(--heart);
    transform: rotate(12deg);
}

.section-title { font-family: var(--font-serif); color: var(--navy); }
.step-no {
    width: 46px; height: 46px; line-height: 46px; margin: 0 auto .5rem;
    border-radius: 50%; background: var(--brand-gradient); color: #fff; font-weight: 700;
    font-family: var(--font-serif); box-shadow: 0 4px 12px rgba(142, 34, 53, .2);
}
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: .9rem; padding: 1.25rem; height: 100%; }
.feature-icon { font-size: 1.75rem; }
.feature h3 { font-family: var(--font-serif); }
.features-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Kaydırma efektleri (site.js) ---------- */
.site-header .navbar { transition: padding .25s ease; }
.site-header .brand-mark { transition: height .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(27, 34, 56, .08); }
.site-header.scrolled .navbar { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.site-header.scrolled .brand-mark { height: 28px; }

/* Gizleme yalnızca JS hazırsa (html.reveal-ready): JS yoksa içerik görünür kalır */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal-ready [data-reveal="left"]  { transform: translate3d(-36px, 0, 0); }
.reveal-ready [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.reveal-ready [data-reveal="zoom"]  { transform: scale(.92); }
.reveal-ready [data-reveal].revealed { opacity: 1; transform: none; }

/* Mektup kağıdı yerine dönerek otursun */
.reveal-ready .hero-paper[data-reveal] { transform: rotate(-9deg) translate3d(-30px, 30px, 0); }
.reveal-ready .hero-paper[data-reveal].revealed { transform: rotate(-2deg); }

/* Adım numaraları belirince hafifçe zıplasın */
.reveal-ready .steps [data-reveal].revealed .step-no { animation: step-pop .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--reveal-delay, 0ms) + 150ms); }
@keyframes step-pop { from { transform: scale(.4); } to { transform: scale(1); } }

/* Hero: sayfa açılışında başlık ve logo yumuşakça gelsin */
.hero-intro > * { animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-intro > :nth-child(2) { animation-delay: .12s; }
.hero-intro > :nth-child(3) { animation-delay: .24s; }
.hero-intro > :nth-child(4) { animation-delay: .36s; }
.hero-art-wrap { animation: hero-art-in 1s cubic-bezier(.2, .7, .2, 1) both .1s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-art-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.hero { overflow: hidden; }
[data-parallax] { will-change: transform; }

/* Başa dön */
.to-top {
    position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1040;
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--brand-gradient); color: #fff; font-size: 1.2rem; line-height: 44px; text-align: center;
    box-shadow: 0 6px 16px rgba(27, 34, 56, .25);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Çerez bildirimi (alt şerit) */
.cookie-notice {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
    padding: .85rem 0; font-size: .92rem;
    background: var(--surface, #fff); color: var(--bs-body-color);
    border-top: 1px solid var(--bs-border-color);
    box-shadow: 0 -6px 20px rgba(27, 34, 56, .12);
}
.cookie-notice a { color: var(--brand); white-space: nowrap; }
.wa-help, .to-top { margin-bottom: var(--cookie-h, 0px); }
.to-top:focus-visible { outline: 3px solid rgba(142, 34, 53, .4); outline-offset: 2px; }

/* ---------- Blog ---------- */
.blog-hero {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(142, 34, 53, .08), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(38, 48, 78, .08), transparent 50%),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.blog-hero h1 em { color: var(--burgundy); }
.blog-meta { color: var(--muted); font-size: .85rem; }

.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(27, 34, 56, .1); }
.blog-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.blog-card-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--paper-2), var(--soft-burgundy)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-cover img.blog-card-placeholder { width: 34%; height: auto; object-fit: contain; opacity: .55; }
.blog-card-body { padding: 1rem 1.1rem 1.2rem; }
.blog-card-title { font-family: var(--font-serif); color: var(--navy); margin: .35rem 0 .4rem; line-height: 1.3; }
.blog-card:hover .blog-card-title { color: var(--burgundy); }

.blog-post-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.blog-post-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 1rem; box-shadow: 0 10px 28px rgba(27, 34, 56, .12); }
.blog-lead { font-family: var(--font-serif); font-style: italic; color: var(--navy); border-left: 3px solid var(--burgundy); padding-left: 1rem; }
.blog-content { font-size: 1.07rem; line-height: 1.8; }
.blog-content h2, .blog-content h3 { margin-top: 2rem; margin-bottom: .75rem; }
.blog-content h2 { font-size: 1.6rem; }
.blog-content h3 { font-size: 1.3rem; }
.blog-content blockquote { font-family: var(--font-serif); font-style: italic; color: var(--navy); background: var(--surface); border-left: 4px solid var(--heart); padding: .9rem 1.2rem; border-radius: 0 .6rem .6rem 0; margin: 1.5rem 0; }
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content img { max-width: 100%; height: auto; border-radius: .6rem; }
.blog-content a { color: var(--burgundy); }
.blog-content table { width: 100%; margin: 1rem 0; border-collapse: collapse; background: var(--surface); }
.blog-content th, .blog-content td { border: 1px solid var(--line); padding: .5rem .75rem; }
.blog-content code { background: var(--paper-2); padding: .1rem .35rem; border-radius: .3rem; color: var(--navy); }
.blog-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--burgundy); }

/* ---------- Kampanyalar ---------- */
.campaign-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.campaign-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(27, 34, 56, .1); }
.campaign-card.is-ended { filter: grayscale(.7); opacity: .8; }
.campaign-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.campaign-card-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.campaign-card-cover img { width: 100%; height: 100%; object-fit: cover; }
/* Kapak yoksa: marka geçişli zemin üzerinde rozet metni */
.campaign-card-art {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 1rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18) 0 18%, transparent 19%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .12) 0 22%, transparent 23%),
        var(--brand-gradient);
    color: #fff; text-align: center;
}
.campaign-card-art span { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; text-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.campaign-badge {
    position: absolute; left: .75rem; top: .75rem; background: var(--heart); color: #fff; font-weight: 700; font-size: .8rem;
    padding: .25rem .6rem; border-radius: 999px; box-shadow: 0 4px 10px rgba(168, 38, 58, .3);
}
.campaign-status { position: absolute; right: .75rem; bottom: .75rem; font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }
.campaign-status-active { background: var(--status-active-bg, #e7f4ea); color: var(--status-active-fg, #1e6b35); }
.campaign-status-urgent { background: var(--status-urgent-bg, #fff3cd); color: var(--status-urgent-fg, #7a4b00); }
.campaign-status-upcoming { background: var(--soft-navy); color: var(--navy); }
.campaign-status-ended { background: var(--paper-2); color: var(--muted); }
.campaign-card-body { padding: 1rem 1.1rem 1.2rem; }
.campaign-card-title { font-family: var(--font-serif); color: var(--navy); margin: .35rem 0 .4rem; line-height: 1.3; }
.campaign-card:hover .campaign-card-title { color: var(--burgundy); }
.campaign-coupon-mini { font-size: .8rem; color: var(--burgundy); }
.campaign-coupon-mini span { background: var(--soft-burgundy); padding: .1rem .4rem; border-radius: .3rem; border: 1px dashed rgba(142, 34, 53, .4); }

.campaign-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.campaign-hero.is-ended { filter: grayscale(.6); }
.campaign-hero-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.campaign-hero-body { padding: 1.5rem 1.6rem 1.7rem; }
.campaign-coupon {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 1.4rem; border-radius: 1rem; background: var(--surface); border: 2px dashed rgba(142, 34, 53, .45);
}
.campaign-coupon-code { font-size: 1.6rem; font-weight: 700; color: var(--burgundy); letter-spacing: .08em; }
.ended-campaigns summary { cursor: pointer; }

/* Ana sayfa kampanya şeridi */
.campaign-strip { background: var(--brand-gradient); color: #fff; }
.campaign-strip-label { font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.campaign-strip-item {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: #fff; text-decoration: none;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem;
}
.campaign-strip-item:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.campaign-strip-badge { background: #fff; color: var(--burgundy); font-weight: 700; font-size: .75rem; border-radius: 999px; padding: .05rem .5rem; }
.campaign-strip-time { font-size: .78rem; opacity: .85; }
.campaign-strip-all { color: #fff; }
.campaign-strip-all:hover { color: #f3c6cd; }

/* ---------- Google ile giriş ---------- */
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    background: #fff; color: #1f1f1f; border: 1px solid #747775; font-weight: 500; }
.btn-google:hover, .btn-google:focus-visible { background: #f2f2f2; color: #1f1f1f; border-color: #747775; }
.auth-divider { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---------- Yorumlar ---------- */
.stars { letter-spacing: .05em; white-space: nowrap; }
.stars .on { color: #E0A526; }
.stars .off { color: var(--line); }
.stars .half { background: linear-gradient(90deg, #E0A526 50%, var(--line) 50%);
    -webkit-background-clip: text; background-clip: text; color: transparent; }

.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.35rem; margin: 0;
    display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(38, 48, 78, .05); }
.review-text { font-family: 'Lora', Georgia, serif; font-style: italic; color: var(--ink); flex: 1; overflow-wrap: anywhere; }
.review-meta { display: flex; align-items: center; gap: .65rem; }
.review-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0;
    background: var(--brand); color: #fff; font-weight: 600; }

.review-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; max-width: 640px; margin-inline: auto; }
.review-average { font-family: 'Lora', Georgia, serif; font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.review-summary .stars { font-size: 1.25rem; }
.review-bars { flex: 1; min-width: 220px; }
.review-bar-row { display: grid; grid-template-columns: 2.5rem 1fr 2rem; align-items: center; gap: .6rem; margin: .2rem 0; }
.review-bar { height: .5rem; background: var(--paper); border-radius: 99px; overflow: hidden; }
.review-bar span { display: block; height: 100%; background: #E0A526; border-radius: 99px; }

/* Yıldız seçici: sağdan sola dizilir, böylece üzerine gelinen ve solundakiler birlikte yanar. */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .1rem; border: 0; padding: 0; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.75rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s; }
.star-input input:checked ~ label,
.star-input label:hover, .star-input label:hover ~ label { color: #E0A526; }
.star-input input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 4px; }

.blog-comments { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.blog-comment { display: flex; gap: .75rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.blog-comment.is-pending { opacity: .75; }
.blog-comment-body { white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- WhatsApp yardım menüsü ---------- */
.wa-help { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1045; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
/* Yardım butonu varken "başa dön" onun üstünde dursun */
.wa-help ~ .to-top, body:has(.wa-help) .to-top { bottom: 5.2rem; right: 1.6rem; }

.wa-fab {
    display: inline-flex; align-items: center; gap: .45rem;
    height: 52px; padding: 0 1.1rem 0 .9rem; border: 0; border-radius: 26px;
    background: #25D366; color: #fff; font-weight: 600;
    box-shadow: 0 8px 22px rgba(18, 140, 76, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18, 140, 76, .45); }
.wa-fab:focus-visible { outline: 3px solid rgba(37, 211, 102, .45); outline-offset: 3px; }
.wa-help.open .wa-fab { background: #128C4C; }
/* Dikkat çekmek için sayfa açılışında bir kez hafif nabız */
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-pulse 2s ease-out 1.2s 2; pointer-events: none; }
.wa-fab { position: relative; }
@keyframes wa-pulse { to { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }

.wa-panel {
    width: min(340px, calc(100vw - 2rem)); background: var(--surface); border-radius: 1rem; overflow: hidden;
    box-shadow: 0 18px 40px rgba(27, 34, 56, .22); border: 1px solid var(--line);
    transform-origin: bottom right; animation: wa-open .22s cubic-bezier(.2, .7, .2, 1);
    /* Kısa ekranlarda üstten taşmasın: başlık ve alt bilgi sabit, konular kendi içinde kayar */
    display: flex; flex-direction: column; max-height: calc(100vh - 6.5rem); max-height: calc(100dvh - 6.5rem);
}
.wa-panel-head, .wa-panel-foot { flex-shrink: 0; }
.wa-panel[hidden] { display: none; }
@keyframes wa-open { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-panel-head { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; color: #fff; background: linear-gradient(90deg, #075E54, #128C4C); }
.wa-avatar img { border-radius: 50%; background: #fff; }
.wa-close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; opacity: .85; }
.wa-close:hover { opacity: 1; }
.wa-panel-body { padding: .9rem; background: var(--wa-chat-bg, #ECE5DD); overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.wa-bubble { background: var(--surface); border-radius: 0 .75rem .75rem .75rem; padding: .6rem .75rem; font-size: .92rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); margin-bottom: .75rem; }
.wa-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.wa-topics a {
    display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: .6rem;
    background: var(--surface); color: var(--ink); text-decoration: none; font-size: .93rem; border: 1px solid transparent;
}
.wa-topics a:hover, .wa-topics a:focus-visible { border-color: #25D366; color: #075E54; }
.wa-topic-icon { width: 1.4rem; text-align: center; }
.wa-topic-arrow { margin-left: auto; color: #128C4C; font-size: 1.2rem; }
.wa-panel-foot { padding: .6rem 1rem; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .25rem; }

@media (max-width: 575.98px) {
    .wa-fab-label { display: none; }
    .wa-fab { width: 54px; height: 54px; padding: 0; justify-content: center; }
    .wa-help { right: .85rem; bottom: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-fab::after, .wa-panel { animation: none; }
    .wa-fab { transition: none; }
    .hero-intro > *, .hero-art-wrap { animation: none; }
    .site-header .navbar, .site-header .brand-mark, .to-top { transition: none; }
}

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--footer-bg, var(--navy-solid)); color: rgba(255, 255, 255, .75); padding: 2rem 0 1.5rem; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: #f3c6cd; }
.site-footer .footer-legal a { color: rgba(255, 255, 255, .75); }
.site-footer .footer-legal a:hover { color: #f3c6cd; }
.site-footer .footer-brand { font-family: var(--font-serif); font-size: 1.25rem; color: #fff; font-weight: 700; }
.site-footer .footer-brand .bi { color: #f0a7b3; font-style: italic; }

/* ---------- Mektup kağıdı ---------- */
.paper {
    position: relative;
    padding: 2.5rem 2.25rem 2rem;
    min-height: 420px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(0,0,0,.06) 32px);
    line-height: 32px;
}
.paper-content { white-space: pre-wrap; word-wrap: break-word; }
.paper { color: #232A3D; }
.paper-signature { text-align: right; margin-top: 1.5rem; }

/* Kağıt ve mürekkep renkleri değişkenle de verilir: editördeki yazı alanı (form-control) odaklanınca
   Bootstrap'ın odak stili zemin / yazı rengini sayfa rengine çevirmesin (açık ve koyu temada). */
.paper-White { --paper-color: #fff; background-color: #fff; }
.paper-Cream { --paper-color: #fbf3df; background-color: #fbf3df; }
.paper-Pink  { --paper-color: #fde4ea; background-color: #fde4ea; }
.paper-Blue  { --paper-color: #e3eefb; background-color: #e3eefb; }
.paper-Green { --paper-color: #e5f4e3; background-color: #e5f4e3; }

.font-Serif { font-family: "Lora", Georgia, serif; font-size: calc(1.05rem * var(--text-scale, 1)); }
.font-Sans { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: calc(1rem * var(--text-scale, 1)); }
.font-Handwriting { font-family: "Caveat", "Segoe Script", cursive; font-size: calc(1.5rem * var(--text-scale, 1)); }
/* Yazı boyutu: yazı stilinin taban boyutunu ölçekler (Küçük / Orta / Büyük) */
.tsize-Small { --text-scale: .85; }
.tsize-Medium { --text-scale: 1; }
.tsize-Large { --text-scale: 1.2; }

.ink-Black { --ink-color: #222; color: #222; }
.ink-Navy { --ink-color: #1f3a68; color: #1f3a68; }
.ink-Burgundy { --ink-color: #7a1f33; color: #7a1f33; }

/* Mektup Yaz adımları (sekmeler): 1 Mektup → 2 Ekstralar → 3 İletişim → 4 Kontrol → 5 Ödeme. */
.wizard-tabs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; scroll-margin-top: 1rem; }
.wizard-tab {
    width: 100%; display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem;
    border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .5rem; background: var(--surface);
    color: var(--bs-secondary-color, #6c757d); font-weight: 600; text-align: left; cursor: pointer;
}
.wizard-tab-no {
    flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--bs-secondary-bg, #e9ecef); color: inherit; font-size: .85rem;
}
.wizard-tab.active { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 3px rgba(142,34,53,.12); }
.wizard-tab.active .wizard-tab-no { background: var(--brand); color: #fff; }
.wizard-tab.done { color: var(--bs-body-color, #212529); }
.wizard-tab.done .wizard-tab-no { background: #2e7d4f; color: #fff; }
.wizard-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
@media (max-width: 575.98px) {
    .wizard-tabs { gap: .25rem; }
    .wizard-tab { flex-direction: column; gap: .2rem; padding: .4rem .25rem; text-align: center; font-size: .72rem; }
}

/* Fotoğraf büyütme (_PhotoViewer). */
[data-gallery] img { cursor: zoom-in; }
.photo-viewer .modal-content { background: #111; color: #eee; border: 0; }
.photo-viewer .modal-header { border-bottom: 0; }
.photo-viewer .btn-close { filter: invert(1); }
.photo-viewer #photoViewerImg { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; object-fit: contain; }
.photo-viewer-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: .5rem;
    background: rgba(0,0,0,.45); color: #fff; font-size: 2rem; line-height: 1;
}
.photo-viewer-nav:hover, .photo-viewer-nav:focus-visible { background: rgba(0,0,0,.75); }
.photo-viewer-nav.prev { left: .5rem; }
.photo-viewer-nav.next { right: .5rem; }

/* Ekstralar sekmesi: sayfa içinde yüklenen fotoğraflar (küçük görsel + kaldır) ve belge listesi. */
.attach-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.attach-photo, .attach-add { position: relative; width: 88px; height: 88px; border-radius: .5rem; overflow: hidden; }
.attach-photo { border: 1px solid var(--bs-border-color, #dee2e6); background: var(--paper-2); }
.attach-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attach-photo.uploading { opacity: .5; }
.attach-remove {
    position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0;
    background: rgba(0,0,0,.6); color: #fff; font-size: 1rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.attach-remove:hover, .attach-remove:focus-visible { background: var(--brand); }
.attach-add {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; cursor: pointer;
    border: 2px dashed var(--bs-border-color, #ced4da); color: var(--bs-secondary-color, #6c757d); font-size: 1.4rem;
}
.attach-add .small { font-size: .7rem; line-height: 1.1; text-align: center; }
.attach-add:hover, .attach-add:focus-within { border-color: var(--brand); color: var(--brand); }
.attach-add.disabled, #documentAdd.disabled { opacity: .45; pointer-events: none; }

/* Mektup editörü: araç çubuğu (yazı stili, mürekkep) metin alanına bitişik; metin seçilen kâğıt / yazı / mürekkeple görünür. */
.letter-editor { border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .5rem; overflow: hidden; }
.letter-editor:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(142,34,53,.15); }
.letter-editor-toolbar {
    display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
    padding: .4rem .5rem; background: var(--surface-2); border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}
.letter-editor-tool { display: inline-flex; align-items: center; gap: .35rem; margin: 0; cursor: pointer; }
.letter-editor-tool .form-select { width: auto; min-width: 7.5rem; background-color: transparent; border-color: transparent; box-shadow: none; }
.letter-editor-tool .form-select:hover, .letter-editor-tool .form-select:focus { border-color: var(--bs-border-color, #dee2e6); }
.letter-editor-tool .editor-font.font-Handwriting { font-size: 1.15rem; }
.letter-editor-tool .editor-font, .letter-editor-tool .editor-size { --text-scale: 1; }
.letter-editor-tool .editor-size { min-width: 5.5rem; }
.editor-sep { width: 1px; align-self: stretch; margin: .2rem .15rem; background: var(--bs-border-color, #dee2e6); }
.editor-btn {
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    min-width: 2.1rem; height: 2.1rem; padding: 0 .45rem; border: 1px solid transparent; border-radius: .375rem;
    background: transparent; color: var(--bs-body-color); font-size: 1.05rem; line-height: 1;
}
.editor-btn:hover { background: rgba(127, 127, 127, .15); }
.editor-btn.active { background: rgba(142, 34, 53, .14); border-color: rgba(142, 34, 53, .35); color: var(--brand); }
.editor-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.editor-ink-a { font-weight: 600; transform: translateY(-2px); }
.editor-ink-bar { position: absolute; left: .55rem; right: .55rem; bottom: .3rem; height: 3px; border-radius: 2px; }
.editor-clear { font-style: italic; font-weight: 600; }
.editor-clear sub { font-size: .6em; }
.editor-ink-menu { min-width: 13rem; }
.editor-ink-menu .dropdown-item-text { white-space: normal; }

/* Editörün üstündeki özelleştirmeler: [ikon Zarf Rengi : | Beyaz ⇕] */
.editor-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.editor-option {
    display: inline-flex; align-items: stretch; margin: 0; cursor: pointer;
    border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .5rem; background: var(--surface); overflow: hidden;
}
.editor-option:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(142,34,53,.15); }
.editor-option-label {
    display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; font-weight: 500; white-space: nowrap;
    border-right: 1px solid var(--bs-border-color, #dee2e6);
}
.editor-option .form-select { width: auto; min-width: 7rem; border: 0; border-radius: 0; background-color: transparent; box-shadow: none; }
@media (max-width: 575.98px) {
    .editor-option { flex: 1 1 100%; }
    .editor-option .form-select { flex: 1; }
}

/* Biçimli metin alanı (contenteditable) ve basılı / önizleme metnindeki renkler */
.letter-editor .letter-textarea {
    display: block; width: 100%; min-height: 22rem; max-height: 70vh; overflow-y: auto;
    padding: .9rem 1rem; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; outline: none;
}
.letter-editor .letter-textarea.is-empty::before { content: attr(data-placeholder); color: rgba(35, 42, 61, .45); pointer-events: none; float: left; }
.rt-ink-Black { color: #222; }
.rt-ink-Navy { color: #1f3a68; }
.rt-ink-Burgundy { color: #7a1f33; }
.letter-editor .letter-textarea,
.letter-editor .letter-textarea:focus {
    background-color: var(--paper-color, #fff);
    color: var(--ink-color, #222);
    caret-color: var(--ink-color, #222);
}
.letter-editor .letter-textarea::placeholder { color: rgba(35, 42, 61, .45); }
.ink-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.2); }
.ink-dot-Black { background: #222; }
.ink-dot-Navy { background: #1f3a68; }
.ink-dot-Burgundy { background: #7a1f33; }

/* ---------- Zarf ---------- */
.envelope {
    position: relative;
    height: 150px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    padding: 1rem 1.25rem;
    overflow: hidden;
}
.envelope::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(160deg, transparent 49.5%, rgba(0,0,0,.07) 50%, transparent 50.5%),
                linear-gradient(20deg, transparent 49.5%, rgba(0,0,0,.07) 50%, transparent 50.5%);
}
.envelope-from { position: relative; opacity: .8; max-width: 55%; }
/* Kontrol sekmesindeki zarfta ad altında adres satırı (küçük). */
.envelope-address { font-size: .78rem; font-weight: 400; line-height: 1.3; opacity: .9; }
.envelope-to .envelope-address { max-width: 260px; text-align: left; }
/* Kontrol sekmesindeki zarf: yönetim panelindeki zarf çıktısının (order-print.css, 180×130 mm) birebir oranlı hali.
   Ölçüler zarf genişliğine göre (cqw); 1 mm ≈ 0,556cqw. */
.env-preview {
    container-type: inline-size; position: relative; width: 100%; aspect-ratio: 180 / 130; overflow: hidden;
    border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.14); color: #000;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.env-preview > * { font-size: 1.96cqw; line-height: 1.3; } /* 10pt @ 180 mm */
.env-color-White { background: #fff; border: 1px solid var(--line); }
.env-color-Kraft { background: #d2b48c; }
.env-color-Pink { background: #f4b6c6; }
.env-color-Red { background: #b8323f; color: #fff; }
.env-color-Navy { background: #1f2f55; color: #fff; }
.envp-from, .envp-to {
    position: absolute; overflow-wrap: anywhere;
    border: .22cqw solid; border-radius: 2.78cqw 0 2.78cqw 0; padding: 1.11cqw 2.22cqw;
}
.envp-from > *, .envp-to > * { font-size: 1.1em; }
.envp-from { top: 4.44cqw; left: 5.56cqw; max-width: 45%; border-color: #26304E; }
.envp-to { right: 6.67cqw; bottom: 6.67cqw; max-width: 60%; border-color: #8E2235; }
.envp-caption { font-size: .88em !important; font-weight: 700; letter-spacing: .1em; }
.envp-from .envp-caption { color: #26304E; }
.envp-to .envp-caption { color: #8E2235; }
.env-color-Red .envp-caption, .env-color-Navy .envp-caption { color: #fff; }
.env-color-Red .envp-from, .env-color-Red .envp-to, .env-color-Navy .envp-from, .env-color-Navy .envp-to { border-color: #fff; }
.envp-name { font-weight: 600; }
.envp-place { font-weight: 600; }
.envp-weight { position: absolute; top: 4.44cqw; right: 5.56cqw; text-align: center; font-size: 1.76cqw !important; }
.envp-barcode {
    margin-top: .83cqw; width: 27.8cqw; padding: .8cqw 0; font-size: .8em; line-height: 1.25; opacity: .75;
    border: .22cqw dashed currentColor; border-radius: 1cqw;
}
.envp-brand { position: absolute; left: 5.56cqw; bottom: 4.44cqw; max-width: 40%; }
.envp-intermediary { font-weight: 700; margin-bottom: .83cqw; white-space: nowrap; }
.envp-brand img { display: block; height: 17.8cqw; width: auto; } /* 32 mm */

/* Ödeme sekmesi: sağdaki güvenli kart formu çerçevesi (PayTR iFrame / test modu). */
.pay-frame { display: block; width: 100%; min-height: 560px; border: 0; }
#payLines .text-success td:last-child { white-space: nowrap; }
/* Havale / EFT hesap bilgileri: etiket solda, değer sağda */
.bank-info { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
.bank-info dt { font-weight: 500; color: var(--bs-secondary-color); }
.bank-info dd { margin: 0; overflow-wrap: anywhere; }

/* Kontrol sekmesi */
.review-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color, #6c757d); margin-bottom: .35rem; }
#wizardStep4 .paper { min-height: 0; max-height: 460px; overflow-y: auto; }
.review-photos .attach-photo, .review-photos img { width: 64px; height: 64px; }
.review-photos img { object-fit: cover; border-radius: .4rem; border: 1px solid var(--bs-border-color, #dee2e6); }
.review-postcard { width: 90px; text-align: center; font-size: .72rem; }
.review-postcard img { width: 90px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .35rem; border: 1px solid var(--bs-border-color, #dee2e6); display: block; }
.envelope-to { position: absolute; right: 1.5rem; bottom: 1.25rem; font-weight: 600; font-size: 1.1rem; }
.envelope-White { background: #fff; color: #333; border: 1px solid var(--line); }
.envelope-Kraft { background: #d2b48c; color: #3d2b16; }
.envelope-Red { background: #b8323f; color: #fff; }
.envelope-Navy { background: #1f2f55; color: #fff; }
.envelope-Pink { background: #f4b6c6; color: #5a2333; }

/* ---------- Kartpostal ---------- */
/* Yönetim panelinden eklenen kartpostallar: kategori başlıkları altında görsel kutucuklar; "Kartpostal istemiyorum" ilk seçenek. */
.postcard-picker { max-height: 340px; overflow-y: auto; padding: 2px; }
.postcard-group-title { font-size: .8rem; color: var(--bs-secondary-color, #6c757d); margin: .5rem 0 .25rem; }
.postcard-option { position: relative; display: block; }
.postcard-option input { position: absolute; opacity: 0; }
.postcard-tile {
    display: flex; flex-direction: column; align-items: stretch;
    width: 104px; border-radius: 8px; overflow: hidden; background: var(--surface);
    border: 2px solid var(--bs-border-color, #dee2e6); cursor: pointer; font-size: .72rem; line-height: 1.2;
}
.postcard-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--paper-2); }
.postcard-tile .postcard-name { padding: 3px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.postcard-tile { position: relative; }
/* Seçili kartpostalın köşesinde onay işareti (çoklu seçim). */
.postcard-check {
    position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700;
}
.postcard-option input:checked + .postcard-tile { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(142,34,53,.2); }
.postcard-option input:checked + .postcard-tile .postcard-check { display: flex; }
.postcard-option input:focus-visible + .postcard-tile { outline: 2px solid var(--brand); }
.postcard-option input:disabled + .postcard-tile { opacity: .45; cursor: not-allowed; }
/* Sipariş sayfasında seçilen kartpostalın küçük görseli. */
.postcard-thumb { width: 72px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; vertical-align: middle; border: 1px solid var(--bs-border-color, #dee2e6); }

/* ---------- Durum zaman çizelgesi ---------- */
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.5rem; border-left: 2px solid var(--line); margin-left: .4rem; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before {
    content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--brand);
}

.photo-thumb { width: 110px; height: 110px; object-fit: cover; border-radius: 6px; }

@media print {
    header, footer, .no-print { display: none !important; }
    .paper { box-shadow: none; background-image: none; }
}

/* ==========================================================================
   Koyu mod: <html data-bs-theme="dark"> (Hesabım → Görünüm; "Sistem" seçiliyse cihazın ayarı).
   Mektup kağıdı, zarf ve kartpostal önizlemeleri gerçek renklerinde kalır.
   ========================================================================== */
:root[data-bs-theme="dark"] {
    color-scheme: dark;
    --navy: #B7C1E4;
    --navy-dark: #D7DCF0;
    --burgundy: #E8899A;
    --burgundy-dark: #F0A7B3;
    --heart: #E26A7F;
    --paper: #13151C;
    --paper-2: #222634;
    --line: #343A4B;
    --ink: #E5E7EE;
    --muted: #A2A7B4;
    --brand: #B83A50;
    --brand-dark: #9C2C41;

    --surface: #1B1E28;
    --surface-2: #20242F;
    --header-bg: rgba(19, 21, 28, .92);
    --soft-navy: #2A3150;
    --soft-burgundy: #3A2230;
    --soft-success: #17301F;
    --soft-success-border: #24502F;
    --status-active-bg: #17301F; --status-active-fg: #8FD3A6;
    --status-urgent-bg: #3A2F18; --status-urgent-fg: #F2CF7E;
    --outline-border: rgba(183, 193, 228, .35);
    --footer-bg: #0D0F15;
    --wa-chat-bg: #1A1F1E;

    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-emphasis-color: #fff;
    --bs-secondary-color: var(--muted);
    --bs-secondary-bg: #222634;
    --bs-tertiary-bg: #1E2230;
    --bs-border-color: var(--line);
    --bs-link-color-rgb: 183, 193, 228;
    --bs-link-hover-color-rgb: 232, 137, 154;
}
[data-bs-theme="dark"] a { text-decoration-color: rgba(183, 193, 228, .35); }
[data-bs-theme="dark"] .site-header.scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-light { background-color: var(--surface) !important; }
[data-bs-theme="dark"] .text-dark { color: var(--ink) !important; }
[data-bs-theme="dark"] .table { --bs-table-bg: transparent; }
[data-bs-theme="dark"] .blog-card:hover,
[data-bs-theme="dark"] .campaign-card:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
[data-bs-theme="dark"] .wizard-tab.done .wizard-tab-no { background: #3f9d68; }
/* Lacivert-bordo çizgili logo koyu zeminde okunsun diye açık kağıt zemin üzerinde */
[data-bs-theme="dark"] .hero-art,
[data-bs-theme="dark"] .brand-mark { background: #F7F6F0; border-radius: .9rem; padding: .5rem; }
[data-bs-theme="dark"] .brand-mark { border-radius: .45rem; padding: .15rem .25rem; }
[data-bs-theme="dark"] .blog-card-placeholder { filter: brightness(1.6) saturate(.8); }

/* Görünüm seçimi (Hesabım) */
.theme-choice .btn { min-width: 6.5rem; }
.theme-choice .btn-check:checked + .btn { background: var(--brand); border-color: var(--brand); color: #fff; }