/* ==========================================================================
   AYESOFT TASARIM SİSTEMİ v5 — "Editoryal Mühendislik"
   Kırık beyaz kağıt zemin, ince çizgiler, mono etiketler, koyu mürekkep
   bölümler. Gölge yerine kontrast ve çizgiyle derinlik. Marka: #3F377C.
   Tüm CSS'lerden SONRA yüklenir.
   ========================================================================== */

/* --- 1. TOKEN'LAR ----------------------------------------------------------- */

:root {
    --paper: #FAFAF8;               /* sayfa zemini — kırık beyaz */
    --ink: #131118;                 /* ana metin / başlık mürekkebi */
    --dark: #16132B;                /* koyu bölümler (mor gece) */
    --dark-2: #0F0D20;              /* koyu degrade ortağı */
    --rule: #E6E4EC;                /* tüm ayırıcı çizgiler */
    --brand: #3F377C;               /* marka moru */
    --brand-hover: #322B65;
    --brand-soft: #EFEDF7;          /* yumuşak mor zemin */
    --brand-bright: #8B7DD8;        /* koyu zeminde mor vurgu */
    --cta: #4B4292;                 /* kapanış CTA zemini — footer'dan ayrışan 2. koyu ton */
    --cta-2: #3A3270;               /* CTA degrade ortağı */
    --muted: #5D5A6B;               /* yardımcı metin */
    --mono: "JetBrains Mono", "Consolas", monospace;
    --sans: "Inter", "Segoe UI", Arial, sans-serif;

    --color-primary: var(--ink);
    --color-secondary: #2E2B3A;
    --color-accent: var(--brand);
    --color-accent-strong: var(--brand-hover);
    --color-accent-bright: var(--brand-bright);
    --color-accent-soft: var(--brand-soft);
    --color-surface: var(--paper);
    --color-muted: var(--muted);
    --color-line: var(--rule);
    --color-success: #1B7A4E;
    --color-warning: #B26A0E;
    --color-danger: #C23A3A;

    /* Eski token haritası (tüm site bunları kullanır) */
    --primary-color: var(--brand);
    --secondary-color: var(--brand-hover);
    --third-color: var(--brand-soft);
    --text-color: #2E2B3A;
    --primary-text-color: #fff;
    --section1-color: var(--paper);
    --section2-color: #F3F2EF;
    --section3-color: var(--paper);

    --buyBtnBg: var(--brand);
    --buyBtnBorder: var(--brand-hover);
    --buyBtnText: #fff;
}

::selection {
    background: var(--brand);
    color: #fff;
}

/* --- 2. TİPOGRAFİ ----------------------------------------------------------- */

body {
    font-family: var(--sans);
    background-color: var(--paper);
    color: var(--color-secondary);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

/* Ana sayfa/ürün buton ve etiket fontlarını Inter'e çek (eski Poppins bildirimlerini ez) */
.cta, .buy, .dash-btn, .hd-btn, .hd-nav a, .hd-link,
.main .login form button, .main .login form input,
.main .login form select, .main .login form textarea,
.plan .plan-price strong, .cmp-foot strong,
.step .snum, .hc-body strong, .bstat strong {
    font-family: var(--sans);
}

/* Mono yardımcıları: rozetler, numaralar, mikro etiketler */
.mono,
.kicker,
.section-head3 .kicker {
    font-family: var(--mono);
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dash-table td,
.dash-table th,
.kpi-value,
.kpi-prev,
.summary-total strong,
.oline,
.kdv-grid,
.fatura li,
.pagi,
.plan-price,
.cmp-foot,
.hd-tel {
    font-variant-numeric: tabular-nums;
}

/* --- 3. HEADER: ince çizgili editoryal bar ----------------------------------- */

header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    color: var(--color-secondary);
}

header .hd {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 16px;
    box-sizing: border-box;
}

header .hd-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header .hd-logo img {
    display: block;
    width: 168px;
    height: 22px;
}

header .hd-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 12px;
}

header .hd-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

header .hd-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 2px;
    background: var(--brand);
    transition: right .2s ease;
}

header .hd-nav a:hover,
header .hd-nav a.active {
    color: var(--ink);
    background: none;
}

header .hd-nav a:hover::after,
header .hd-nav a.active::after {
    right: 0;
}

header .hd-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

header .hd-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px;
    transition: color .2s ease, background-color .2s ease;
}

header .hd-tel i {
    font-size: 12px;
    color: var(--brand);
}

header .hd-tel:hover {
    background: var(--brand-soft);
}

header .hd-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--color-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

header .hd-ic:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: var(--brand-soft);
}

header .hd-ic.danger {
    background: var(--color-danger);
    border-color: #A32F2F;
    color: #fff;
}

header .hd-link {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}

header .hd-link:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

header .hd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--brand-hover);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease;
}

header .hd-btn i {
    font-size: 12px;
}

header .hd-btn:hover {
    background: var(--brand-hover);
}

header .hd-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--ink);
    font-size: 15px;
    transition: border-color .2s ease, color .2s ease;
}

header .hd-burger:hover {
    border-color: var(--brand);
    color: var(--brand);
}

header .mobilemenu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 90;
    list-style: none;
    margin: 0;
    padding: 6px 16px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px rgba(19, 17, 24, 0.12);
}

header .mobilemenu.active {
    display: block;
}

header .mobilemenu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--rule);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color .2s ease;
}

header .mobilemenu li:last-child a {
    border-bottom: none;
}

header .mobilemenu li a i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: var(--brand);
}

header .mobilemenu li a:hover {
    color: var(--brand);
    background: none;
}

header .mobilemenu li.mm-tel a {
    font-family: var(--mono);
    font-size: 13px;
}

@media (max-width: 1200px) {
    header .hd { gap: 14px; }
    header .hd-nav { gap: 14px; margin-left: 4px; }
    header .hd-nav a { font-size: 13.5px; }
    header .hd-btn { padding: 0 13px; }
}

@media (max-width: 1120px) {
    header .hd-tel span { display: none; }
    header .hd-tel {
        border: 1px solid var(--rule);
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 1080px) {
    header .hd-nav { display: none; }
    header .hd-burger { display: inline-flex; }
}

@media (max-width: 600px) {
    header .hd { gap: 10px; }
    header .hd-tel,
    header .hd-link,
    header .hd-ic:not(.danger) { display: none; }
}

@media (max-width: 400px) {
    header .hd-logo img { width: 140px; height: 19px; }
    header .hd-btn { padding: 0 12px; }
}

/* SAYFA BAŞLIĞI STANDARDI — tüm sitede tek yapı:
   sola dayalı, altı ince çizgili editoryal sayfa başı.
   (base'deki 4-sınıflı eski kuralları ezmek için varyantlar sayılır) */
.main .container.title,
.main.page .container.title,
.main.panel .container.title,
.main.cart .container.title,
.main.blog .container.title,
.main.referanspage .container.title,
.main.contentpage .container.title {
    display: block;
    width: 1180px;
    max-width: 100%;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    margin: 0 auto 30px;
    padding: 42px 16px 26px;
    text-align: left;
    border-bottom: 1px solid var(--rule);
}

.main .container.title h1,
.main.page .container.title h1,
.main.panel .container.title h1,
.main.cart .container.title h1,
.main.product .container.title h1,
.main.blog .container.title h1 {
    display: block;
    font-size: 30px;
    line-height: 38px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.025em;
    border-bottom: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.main .container.title h2,
.main.page .container.title h2,
.main.panel .container.title h2,
.main.cart .container.title h2,
.main.blog .container.title h2 {
    display: block;
    margin: 7px 0 0;
    font-size: 14.5px;
    line-height: 22px;
    color: var(--muted);
    font-weight: 400;
}

/* Ara başlık varyantı (h4'lü .title.subtitle blokları) */
.main .container.title.subtitle h4 {
    font-size: 24px;
    line-height: 32px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: none;
}

.main .container.title.subtitle span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
}

/* 404 istisnası: dev başlık korunur */
.main.notfound .container.title h1 {
    font-size: 72px;
    line-height: 76px;
}

/* --- 4. KARTLAR: çizgiyle derinlik ------------------------------------------- */

.panel,
.main .login form,
.main.contentpage .single,
.main.referanspage .refcard,
.main.contentpage .contact-cards a,
.main.contentpage .contact-cards address,
.main.panel .paneldetail .info,
.filter-panel {
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: none;
}

.main.referanspage a.refcard:hover,
.main.contentpage .contact-cards a:hover {
    border-color: var(--ink);
    box-shadow: none;
    transform: none;
}

/* --- 5. BUTONLAR & INPUTLAR --------------------------------------------------- */

button {
    cursor: pointer;
}

.cta,
.main .login form button,
.dash-btn {
    border-radius: 8px;
    min-height: 44px;
}

.cta:hover,
.main .login form button:hover,
.dash-btn:hover {
    transform: none;
    box-shadow: none;
}

a.cta, button, .dash-btn, .ra-btn, .qa-btn, .ia-btn, .pagi-btn {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.main .login form input,
.main .login form select,
.main .login form textarea,
.dash-form input,
.dash-form select,
.dash-form textarea,
.dash-filter input,
.dash-filter select {
    border-radius: 8px;
    border-color: var(--rule);
    background-color: #fff;
}

.main .login form input:focus,
.main .login form select:focus,
.main .login form textarea:focus,
.dash-form input:focus,
.dash-form select:focus,
.dash-form textarea:focus,
.dash-filter input:focus,
.dash-filter select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(63, 55, 124, 0.18);
}

/* --- 6. DİYALOG & COOKIE ------------------------------------------------------- */

/* ayeConfirm diyaloğu: sola dayalı editoryal onay kartı */
.aye-dialog-overlay {
    background: rgba(15, 13, 32, 0.6);
    backdrop-filter: blur(2px);
}

.aye-dialog {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(15, 13, 32, 0.35);
    max-width: 420px;
    padding: 22px 24px 20px;
    text-align: left;
    font-family: var(--sans);
}

.aye-dialog-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-soft);
    margin-bottom: 14px;
}

.aye-dialog-icon i {
    font-size: 18px;
    color: var(--brand);
}

.aye-dialog-icon.danger {
    background: #FAEEEE;
    border: 1px solid #EFD2D2;
}

.aye-dialog-icon.danger i {
    color: var(--color-danger);
}

.aye-dialog strong {
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 6px;
}

.aye-dialog p {
    font-size: 13.5px;
    line-height: 21px;
    color: var(--muted);
    margin: 0 0 18px;
}

.aye-dialog-actions {
    justify-content: flex-end;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
}

.aye-btn {
    font-family: var(--sans);
    height: 40px;
    padding: 0 18px;
    font-size: 13.5px;
    border-radius: 8px;
}

.aye-btn:hover {
    transform: none;
}

.aye-btn.primary {
    background: var(--brand);
    border-color: var(--brand-hover);
    color: #fff;
}

.aye-btn.primary:hover {
    background: var(--brand-hover);
}

.aye-btn.danger {
    background: var(--color-danger);
    border-color: #A32F2F;
    color: #fff;
}

.aye-btn.danger:hover {
    background: #A32F2F;
}

.aye-btn.ghost {
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--color-secondary);
}

.aye-btn.ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

/* Çerez bildirimi: editoryal köşe kartı */
#cookie {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(15, 13, 32, 0.16);
    padding: 16px 18px;
    gap: 13px;
    font-size: 13px;
    line-height: 20px;
}

#cookie .cookie-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-soft);
    border: 1px solid var(--rule);
}

#cookie .cookie-icon i {
    font-size: 16px;
    color: var(--brand);
}

#cookie .cookie-body strong {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

#cookie .cookie-body p {
    margin: 0 0 12px;
    color: var(--color-secondary);
}

#cookie .cookie-body a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--brand-soft);
    transition: border-color .2s ease;
}

#cookie .cookie-body a:hover {
    border-bottom-color: var(--brand);
}

#cookie .cookie-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--brand-hover);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .2s ease;
}

#cookie .cookie-accept:hover {
    background: var(--brand-hover);
}

/* --- 7. KOYU FOOTER ------------------------------------------------------------ */

footer.footer2 {
    background: var(--dark);
    border-top: none;
}

footer.footer2 .footer-logo img {
    filter: brightness(0) invert(1);
    opacity: .95;
}

footer.footer2 .footer-brand p,
footer.footer2 .footer-col ul li,
footer.footer2 .footer-col ul li a,
footer.footer2 .footer-contact ul li {
    color: rgba(255, 255, 255, 0.6);
}

footer.footer2 .footer-col ul li a:hover {
    color: #fff;
}

footer.footer2 .footer-contact ul li i {
    color: var(--brand-bright);
}

footer.footer2 .footer-col h5 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

footer.footer2 ul.social li a {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
}

footer.footer2 ul.social li a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

footer.footer2 #ETBIS {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

footer.footer2 #ETBIS *,
footer.footer2 #ETBIS a {
    color: rgba(255, 255, 255, 0.6);
}

footer.footer2 .footer-bottom {
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.footer2 .footer-bottom,
footer.footer2 .footer-bottom * {
    color: rgba(255, 255, 255, 0.5);
}

footer.footer2 .footer-bottom a:hover {
    color: #fff;
}

/* --- 8. ÖDEME SAYFASI ----------------------------------------------------------- */

.odeme .paymentmethods {
    margin: 26px 0 40px;
    gap: 14px;
    width: 100%;
}

.odeme .paymentmethods a {
    flex: 0 1 280px;
    gap: 10px;
    padding: 34px 20px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    color: var(--ink);
    transition: border-color .2s ease;
}

.odeme .paymentmethods a:hover {
    background: #fff;
    border-color: var(--ink);
}

.odeme .paymentmethods a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 19px;
    line-height: 1;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 10px;
}

.odeme .paymentmethods a span {
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
}

.odeme .paymentmethods a small {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-success);
}

.odeme .eft {
    width: 560px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 6px 0;
}

.odeme .eft span {
    padding: 13px 52px 13px 18px;
    font-size: 14px;
    line-height: 21px;
    color: var(--color-secondary);
    font-variant-numeric: tabular-nums;
}

.odeme .eft span + span {
    border-top: 1px solid var(--rule);
}

.odeme .eft span strong {
    color: var(--muted);
    font-weight: 600;
}

.odeme .eft span i {
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-width: 32px;
    line-height: 30px;
    color: var(--brand);
    transition: border-color .2s ease, color .2s ease;
}

.odeme .eft span i:hover {
    border-color: var(--brand);
}

.odeme .odemebildirimi {
    padding: 18px;
}

.odeme .odemebildirimi span {
    padding: 4px 0;
    border-top: none !important;
}

.odeme .odemebildirimi input[type="text"],
.odeme .odemebildirimi textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: #fff;
    line-height: 22px;
    padding: 11px 13px;
    font-family: var(--sans);
    font-size: 14px;
    margin-bottom: 4px;
}

.odeme .odemebildirimi input[type="text"]:focus,
.odeme .odemebildirimi textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(63, 55, 124, 0.18);
}

.odeme .odemebildirimi input[type="submit"] {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    background: var(--brand);
    border: 1px solid var(--brand-hover);
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.odeme .odemebildirimi input[type="submit"]:hover {
    background: var(--brand-hover);
}

/* --- 9. ALERTBOX: editoryal bildirim kutuları ----------------------------------- */

.alertbox {
    position: relative;
    box-sizing: border-box;
    flex: 1;
    width: auto;
    margin: 18px 16px 0;
    padding: 13px 44px 13px 46px;
    font-size: 14px;
    line-height: 21px;
    border-radius: 10px;
    border: 1px solid var(--rule);
    border-left-width: 3px;
    background: #fff;
    color: var(--color-secondary);
}

.alertbox::before {
    position: absolute;
    left: 16px;
    top: 13px;
    font: 900 15px/21px "Font Awesome 6 Free";
    content: '\f05a';
    color: var(--muted);
}

.alertbox strong {
    font-weight: 600;
    margin-right: 6px;
    color: inherit;
}

.alertbox a.close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    float: none;
    font-size: 20px !important;
    line-height: 1;
    font-weight: 600;
    color: inherit;
    text-shadow: none;
    opacity: .55;
    transition: opacity .2s ease;
}

.alertbox a.close:hover {
    opacity: 1;
}

.alertbox.success {
    background: #EFF8F3;
    border-color: #CDE8DB;
    border-left-color: var(--color-success);
    color: #14603C;
}

.alertbox.success::before {
    content: '\f058';
    color: var(--color-success);
}

.alertbox.danger,
.alertbox.error {
    background: #FAEEEE;
    border-color: #EFD2D2;
    border-left-color: var(--color-danger);
    color: #9A2E2E;
}

.alertbox.danger::before,
.alertbox.error::before {
    content: '\f057';
    color: var(--color-danger);
}

.alertbox.warning {
    background: #FBF3E6;
    border-color: #EFDDBE;
    border-left-color: var(--color-warning);
    color: #8A5410;
}

.alertbox.warning::before {
    content: '\f071';
    color: var(--color-warning);
}

.alertbox.info {
    background: var(--brand-soft);
    border-color: #DDD8F0;
    border-left-color: var(--brand);
    color: var(--brand-hover);
}

.alertbox.info::before {
    content: '\f05a';
    color: var(--brand);
}

/* Giriş/kayıt sayfalarındaki dar alert varyantını da standarda çek */
.main .login .alertbox {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 12px;
}

/* --- 10. ERİŞİLEBİLİRLİK -------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================================
   13. İÇERİK SAYFALARI — TAM SİTE GENİŞLİĞİ (masaüstü)
   Blog detay, sabit sayfa detay ve iletişim sayfası artık 1180px'lik
   site konteynerinin tamamını kullanır.
   ========================================================================= */

.blog-article {
    max-width: none;
}

/* Blog detay: sol bilgi rayı + içerik
   (.blog-article ile sınırlı: blog listesindeki kartlar da .blog-body kullanır) */
.blog-article .blog-body {
    display: grid;
    grid-template-columns: 232px 1fr;
    gap: 52px;
    align-items: start;
    margin-top: 34px;
}

.blog-rail {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--rule);
}

.blog-rail .rail-box {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
}

.blog-rail .rail-lbl {
    display: block;
    margin-bottom: 5px;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
}

.blog-rail .rail-box b {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.blog-rail .rail-share {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.blog-rail .rail-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rule);
    border-radius: 9px;
    font-size: 14px;
    color: var(--muted);
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.blog-rail .rail-share a:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand);
}

.blog-rail .rail-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand);
}

.blog-rail .rail-back:hover {
    color: var(--brand-hover);
}

.blog-article .single {
    max-width: 780px;
}

/* Sabit sayfa detay: kart tam genişlikte, metin okunaklı kolonda */
.main.contentpage .single {
    max-width: none;
    padding: 46px 54px;
}

.main.contentpage .single > * {
    max-width: 860px;
}

.main.contentpage .single > .content-image,
.main.contentpage .single > table,
.main.contentpage .single > .kurumsal {
    max-width: none;
}

/* İletişim kartları tam genişlikte */
.main.contentpage .contact-cards {
    max-width: none;
}

@media (max-width: 1080px) {
    .blog-article .blog-body {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .blog-rail {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 26px;
        border-top: 0;
        border-bottom: 1px solid var(--rule);
        padding-bottom: 16px;
    }

    .blog-rail .rail-box {
        border-bottom: 0;
        padding: 0;
    }

    .blog-rail .rail-back {
        display: none;
    }

    .blog-article .single {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .main.contentpage .single {
        padding: 26px 20px;
    }
}

/* ============================================================================
   14. FİGÜRLER — ortak davranış
   Çizimler resources/views/figur/ altındadır ve renklerini token'lardan alır.
   Süs oldukları için dar ekranda kaldırılır ve ekran okuyuculardan gizlidir.
   ========================================================================= */

.figur {
    display: block;
    width: 100%;
    height: auto;
}

/* Koyu zeminde kullanım: token'ları yeniden tanımlamak yeterli,
   SVG'ye dokunmaya gerek yok. */
.figur-koyu {
    --paper: rgba(255, 255, 255, .05);
    --ink: rgba(255, 255, 255, .82);
    --rule: rgba(255, 255, 255, .20);
    --brand: #A99BEC;
    --brand-soft: rgba(255, 255, 255, .08);
    --brand-bright: #C4B9F5;
    --color-success: #4ECB8D;
}

.figur-koyu .figur rect[fill="#fff"],
.figur-koyu .figur path[fill="#fff"] {
    fill: rgba(255, 255, 255, .06);
}

/* Boş durum figürleri */
.figur-bos {
    width: 200px;
    max-width: 70%;
    margin: 0 auto 18px;
}

/* --- Anasayfa ürün satırı --------------------------------------------------- */

/* Figür satırın başında: sağdaki fiyat bloğunun genişliği değiştiği için
   ortada dururken satırdan satıra kayıyordu. Başta hepsi aynı hizada. */
.main.homeE .prow-figur {
    flex-shrink: 0;
    width: 124px;
    margin-right: -8px;
}

@media (max-width: 900px) {
    .main.homeE .prow-figur { display: none; }
}

/* --- Özel yazılım teklif paneli --------------------------------------------- */

.main.teklif .figur-koyu {
    margin: 4px 0 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 900px) {
    .main.teklif .figur-koyu { display: none; }
}

/* --- Boş durumlar ----------------------------------------------------------- */

.main.cart .cart-empty .figur-bos { margin-bottom: 20px; }

.tk-empty .figur-bos {
    width: 160px;
    margin-bottom: 12px;
}

.tk-empty p { margin: 0; }

.blog-empty .figur-bos { margin-bottom: 22px; }

/* --- 404 -------------------------------------------------------------------- */

.main.notfound .figur-404 {
    width: 300px;
    max-width: 78%;
    margin: 0 auto 26px;
}
