/* Only TechBooks publication and commerce additions. Blogzine supplies the theme. */
:root { --tb-cover-blue:#edf2fa; --tb-cover-peach:#f6ede4; --tb-cover-lavender:#f0edf8; }
html { scroll-padding-top:1.5rem; }
.tb-theme { min-height:100vh; display:flex; flex-direction:column; }
.tb-theme main { flex:1; width:100%; }
.tb-theme .text-body-secondary { color:#6c757d!important; }
.tb-theme section.card { padding:0; }
.tb-brand { display:inline-flex; align-items:center; color:var(--bs-heading-color); font-family:Rubik,sans-serif; font-size:1.6rem; font-weight:700; letter-spacing:-.06em; white-space:nowrap; }
.tb-brand>.bi { font-size:1.7rem; }
.tb-skip { position:absolute; z-index:1100; background:var(--bs-body-bg); padding:1rem; }
.tb-nav-search { flex:1; min-width:180px; }
.tb-account-button { display:flex; align-items:center; gap:.4rem; max-width:160px; }
.tb-account-button .account-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100px; font-size:.8rem; }
.tb-nav-actions .dropdown-menu { min-width:220px; }
.tb-theme .modeswitch::before { display:none; }
.tb-theme .modeswitch { background:var(--bs-light); color:var(--bs-heading-color); }
.navbar-nav button.nav-link { background:none; border:0; text-align:left; width:100%; }
.navbar-nav .nav-link { white-space:nowrap; }
.tb-admin-search { max-width:210px; }
.tb-mini-cover { width:100%; max-height:110px; object-fit:contain; }
.tb-template-footer .tb-brand { color:#fff; }
.tb-template-footer .text-body-secondary,.tb-template-footer .nav-link,.tb-template-footer .list-inline a { color:#b0b4bf!important; }
.tb-template-footer .nav-link:hover,.tb-template-footer .list-inline a:hover { color:#fff!important; }
.tb-template-footer p { font-size:.9rem; }
.tb-template-footer .nav-link { padding:.3rem 0; font-size:.85rem; }
.tb-template-footer .bg-dark-overlay-3 .nav-link { padding:.3rem .5rem; }
.tb-store-hero { padding:0; background:var(--bs-light); }
.tb-hero-panel { padding:4rem 0; background:var(--bs-light); }
.tb-hero-panel.hero-sage { background:#edf3ef; }
.tb-hero-panel.hero-sand { background:#f4eee5; }
.tb-hero-copy h2 { line-height:1.15; }
.tb-hero-description { max-width:550px; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.tb-hero-price { color:#26754e; }
.tb-hero-note { font-size:.78rem; margin-top:1.5rem; }
.tb-kicker { font-size:.72rem; font-weight:700; letter-spacing:.1em; }
.tb-kicker>span { display:inline-block; width:6px; height:6px; background:var(--bs-primary); border-radius:50%; margin-right:.5rem; }
.tb-hero-art { height:380px; position:relative; display:flex; align-items:center; justify-content:center; isolation:isolate; }
.tb-hero-orbit { width:320px; height:320px; max-width:90%; border-radius:50%; background:#e1e8f3; position:absolute; z-index:-1; }
.tb-hero-art>img { height:340px; width:auto; max-width:80%; object-fit:contain; transform:rotate(6deg); box-shadow:10px 14px 25px #15283c24; }
.tb-hero-format { position:absolute; bottom:10px; left:15px; background:var(--bs-body-bg); display:flex; gap:12px; padding:12px 18px; border-radius:.5rem; box-shadow:0 5px 25px #23375812; font-size:.8rem; }
.tb-hero-format>.bi { font-size:1.6rem; color:var(--bs-primary); }
.tb-hero-format small { display:block; font-size:.7rem; }
.tb-hero-navigation { display:flex; justify-content:center; align-items:center; gap:1rem; padding:0 0 1rem; }
.tb-hero-navigation .tns-nav { text-align:center; padding:0; transform:none; left:auto; bottom:auto; }
.tb-hero-navigation .tns-nav button { border:0; height:3px; width:22px; background:#bec5d0; padding:0; margin:0 3px; border-radius:0; }
.tb-hero-navigation .tns-nav button.tns-nav-active { background:var(--bs-primary); }
.tb-carousel-button { padding:4px 8px; margin:0; }
.tiny-slider-inner:not(.tns-slider)>div:not(:first-child) { display:none; }
.tb-benefits { margin:0; }
.tb-benefit { display:flex; align-items:center; gap:12px; }
.tb-benefit-icon { display:grid; place-items:center; height:45px; min-width:45px; border-radius:.3rem; font-size:1.4rem; }
.tb-benefit h6 { font-size:.85rem; margin-bottom:4px; }
.tb-benefit small { font-size:.73rem; }
.tb-category-card { display:flex; align-items:center; gap:12px; border:1px solid var(--bs-border-color); border-radius:.3rem; padding:1rem; height:100%; color:var(--bs-heading-color); }
.tb-category-card:hover { border-color:var(--bs-primary); }
.tb-category-card strong,.tb-category-card small { display:block; }
.tb-category-card strong { font-size:.85rem; }
.tb-category-card small { font-size:.75rem; color:var(--bs-body-color); }
.tb-category-icon { color:var(--bs-primary); font-size:1.5rem; }
.tb-catalog-toolbar { border-bottom:1px solid var(--bs-border-color); padding-bottom:1rem; }
.tb-kind-links { display:flex; gap:1.25rem; flex-wrap:wrap; font-size:.85rem; }
.tb-kind-links a { color:var(--bs-body-color); }
.tb-kind-links a.active { color:var(--bs-primary); font-weight:700; }
.tb-product-cover { display:flex; align-items:center; justify-content:center; position:relative; height:280px; border-radius:.3rem; overflow:hidden; }
.tone-blue { background:var(--tb-cover-blue); }
.tone-peach { background:var(--tb-cover-peach); }
.tone-lavender { background:var(--tb-cover-lavender); }
.tb-product-cover>img { height:225px; width:auto; max-width:80%; object-fit:contain; box-shadow:7px 9px 14px #15283c24; transition:transform .2s; }
.tb-product-cover:hover>img { transform:translateY(-5px); }
.tb-cover-type { position:absolute; left:12px; top:12px; font-size:.65rem; z-index:1; }
.tb-cover-print { position:absolute; right:12px; bottom:12px; border-radius:50%; background:#fff; color:#191a1f; width:30px; height:30px; display:grid; place-items:center; }
.tb-product-category { font-size:.72rem; color:var(--bs-body-color); margin-bottom:.5rem; }
.tb-product-title { line-height:1.5; }
.tb-product-title a { display:block; }
.tb-product-price { color:#26754e; font-size:1.05rem; }
.tb-product-card small { font-size:.7rem; }
.tb-card-add { margin:0; padding:.5rem .8rem; }
.tb-designed-cover { width:155px; height:220px; padding:18px; display:flex; flex-direction:column; justify-content:space-between; background:#243c6d; color:#fff; border-left:7px solid #1a2c51; box-shadow:7px 9px 14px #15283c24; }
.tone-peach .tb-designed-cover { background:#bb6952; border-color:#9b4a36; }
.tone-lavender .tb-designed-cover { background:#8065a9; border-color:#644989; }
.tb-designed-cover>span { font-size:.6rem; letter-spacing:.15em; }
.tb-designed-cover strong { font-family:Rubik,sans-serif; font-size:1.15rem; line-height:1.35; }
.tb-designed-cover small { font-size:.6rem; }
.tb-promo { border-radius:.3rem; padding:2.5rem; min-height:310px; position:relative; overflow:hidden; }
.tb-promo>div { position:relative; z-index:1; }
.tb-promo-print { background:#f4eee5; color:#222; }
.tb-promo-planner { background:#eaf1fc; color:#222; }
.tb-promo-art { position:absolute; right:2rem; bottom:-1rem; font-size:11rem; color:#b19e8850; }
.tb-detail-cover { min-height:470px; display:flex; align-items:center; justify-content:center; position:relative; border-radius:.3rem; }
.tb-detail-cover>img { max-height:400px; width:auto; max-width:85%; object-fit:contain; box-shadow:10px 12px 18px #15283c24; }
.tb-detail-cover-label { position:absolute; bottom:1rem; left:1rem; background:var(--bs-body-bg); color:var(--bs-heading-color); font-size:.75rem; border-radius:.3rem; padding:.4rem .7rem; }
.tb-detail-title { font-size:2rem; }
.tb-detail-price strong { font-size:2rem; color:#26754e; }
.tb-detail-price small { font-size:1rem; }
.tb-format-pill { padding:.35rem .65rem; background:var(--bs-light); border-radius:.3rem; font-size:.75rem; }
.tb-print-option { background:var(--bs-light); }
.tb-detail-promises p { font-size:.8rem; margin-bottom:.5rem; }
.tb-detail-tabs .nav-link { font-size:.85rem; padding-left:0; padding-right:1.5rem; }
.tb-contents li,.tb-version { border-bottom:1px solid var(--bs-border-color); padding:.8rem 0; }
.tb-book-facts>div { display:flex; justify-content:space-between; gap:1rem; padding:.6rem 0; border-bottom:1px solid var(--bs-border-color); font-size:.85rem; }
.tb-book-facts dd { text-align:right; margin:0; }
.tb-flow-steps { display:flex; gap:15px; align-items:center; font-size:.8rem; }
.tb-flow-steps>span,.tb-flow-steps>a { display:flex; gap:8px; align-items:center; color:var(--bs-body-color); }
.tb-flow-steps b,.tb-step-circle { display:inline-grid; place-items:center; width:28px; height:28px; background:var(--bs-light); border-radius:50%; }
.tb-flow-steps .active { color:var(--bs-primary); font-weight:700; }
.tb-flow-steps .active b,.tb-step-circle { color:#fff; background:var(--bs-primary); }
.tb-step-circle { font-size:.8rem; margin-right:.5rem; }
.tb-cart-cover { width:90px; min-width:90px; min-height:125px; background:var(--bs-light); display:flex; align-items:center; justify-content:center; align-self:flex-start; border-radius:.3rem; padding:.5rem; }
.tb-cart-cover img { max-height:110px; width:auto; max-width:100%; object-fit:contain; }
.tb-cart-cover>.bi { font-size:2rem; }
.total-row { display:flex; justify-content:space-between; gap:1rem; font-size:.85rem; padding:.9rem 0; border-bottom:1px solid var(--bs-border-color); }
.total-row strong { white-space:nowrap; }
.total-row.grand { font-size:1.1rem; font-weight:700; border:0; margin-top:.5rem; }
.tb-order-summary { position:sticky; top:1rem; }
.tb-library-heading { background:var(--bs-light); border-radius:.3rem; padding:2rem; }
.tb-library-cover { height:220px; display:flex; justify-content:center; align-items:center; position:relative; padding:1rem; }
.tb-library-cover img { max-height:180px; width:auto; object-fit:contain; box-shadow:6px 7px 12px #15283c24; }
.tb-library-cover .tb-designed-cover { width:110px; height:160px; padding:12px; }
.tb-library-cover .tb-designed-cover strong { font-size:.85rem; }
.tb-owned-badge { position:absolute; left:1rem; top:1rem; }
.tb-library-version { border-top:1px solid var(--bs-border-color); padding-top:1rem; margin-top:1rem; }
#kitaplar,#siparisler,#basvurular { padding:0; }
.tb-library-nav { flex-wrap:wrap; }
.tb-library-nav .nav-link { padding-left:0; font-size:.85rem; }
.tb-dashboard-stat { height:100%; }
.tb-dashboard-stat>div>span { font-size:.85rem; }
.tb-stat-icon { height:55px; min-width:55px; display:grid; place-items:center; font-size:1.6rem; border-radius:.3rem; }
.tb-task-row { display:flex; gap:12px; align-items:center; padding:1rem 0; border-bottom:1px solid var(--bs-border-color); color:var(--bs-heading-color); }
.tb-task-icon { height:40px; min-width:40px; display:grid; place-items:center; border-radius:.3rem; }
.tb-task-row strong,.tb-task-row small { display:block; }
.tb-task-row strong { font-size:.8rem; }
.tb-task-row small { font-size:.72rem; }
.tb-dashboard-promo { background:var(--bs-primary-bg-subtle); }
.tb-sales-chart { width:100%; height:auto; }
.tb-chart-grid { stroke:var(--bs-border-color); stroke-dasharray:4 4; }
.tb-chart-bar { fill:var(--bs-primary); }
.tb-sales-chart text { fill:var(--bs-body-color); font-size:12px; }
.tb-editor-cover { width:70px; height:95px; object-fit:contain; background:var(--bs-light); border-radius:.3rem; }
.tb-product-thumb { height:58px; width:42px; object-fit:contain; }
.tb-editor-nav { position:sticky; top:1rem; }
.preserve { white-space:pre-wrap; overflow-wrap:anywhere; }
.prose { line-height:1.9; max-width:900px; }
.previews { display:flex; flex-wrap:wrap; gap:1rem; }
.previews img { max-width:200px; max-height:280px; object-fit:contain; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:400px; overflow:auto; padding:1rem; background:var(--bs-light); border-radius:.3rem; }
.honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.validation:empty,.validation-summary-valid { display:none; }
.validation { background:var(--bs-danger-bg-subtle); color:var(--bs-danger-text-emphasis); border:1px solid var(--bs-danger-border-subtle); border-radius:.3rem; padding:1rem; margin-bottom:1.5rem; }
.validation ul { margin:0; }
.input-validation-error { border-color:var(--bs-danger)!important; }
.notice { background:var(--bs-info-bg-subtle); color:var(--bs-info-text-emphasis); border:1px solid var(--bs-info-border-subtle); border-radius:.3rem; padding:1rem; margin-bottom:1.5rem; }
.min-w-0 { min-width:0; }
.table th { font-size:.75rem; white-space:nowrap; }
.table td { font-size:.85rem; }
.table h6 { font-size:.85rem; }
.table td,.table th { padding:.9rem; }
.tb-admin-body .table td:first-child { min-width:220px; }
.tb-auth { max-width:600px; margin:1rem auto; }
.tb-auth-panel { padding:2.5rem; background:var(--bs-primary-bg-subtle); border-radius:.3rem; }
.tb-status-icon { font-size:3.5rem; }
details.tb-details>summary { padding:1.25rem; font-weight:500; cursor:pointer; color:var(--bs-heading-color); }
details.tb-details[open]>summary { border-bottom:1px solid var(--bs-border-color); }
details.tb-details>div { padding:1.5rem; }
[data-bs-theme="dark"] .tb-theme .text-body-secondary { color:#a1a1a8!important; }
[data-bs-theme="dark"] .tb-hero-panel.hero-sage { background:#1e3028; }
[data-bs-theme="dark"] .tb-hero-panel.hero-sand { background:#352e22; }
[data-bs-theme="dark"] .tb-hero-orbit { background:#293445; }
[data-bs-theme="dark"] .tb-detail-price strong,[data-bs-theme="dark"] .tb-product-price,[data-bs-theme="dark"] .tb-hero-price { color:#61c591; }
[data-bs-theme="dark"] .tb-product-cover,[data-bs-theme="dark"] .tb-detail-cover,[data-bs-theme="dark"] .tb-library-cover { background:#242b39; }
[data-bs-theme="dark"] .tb-print-option .form-select { background-color:var(--bs-body-bg)!important; }
@media(max-width:1199px) {
    .navbar-collapse { order:3; flex-basis:100%; }
    .tb-nav-search { padding:0 0 1rem; }
    .tb-account-button .account-name { display:none; }
    .navbar-nav button.nav-link { line-height:1.5; }
    .tb-admin-search { max-width:none; }
}
@media(max-width:767px) {
    .tb-hero-panel { padding:2rem 0; }
    .tb-hero-art { height:300px; }
    .tb-hero-art>img { height:260px; }
    .tb-hero-orbit { width:250px; height:250px; }
    .tb-hero-copy h2 { font-size:1.8rem; }
    .tb-hero-description { -webkit-line-clamp:3; }
    .tb-hero-format { font-size:.7rem; bottom:0; }
    .tb-hero-note { display:none; }
    .tb-benefit { gap:8px; }
    .tb-benefit h6 { font-size:.75rem; }
    .tb-benefit small { font-size:.65rem; }
    .tb-benefit-icon { min-width:32px; height:35px; font-size:1.1rem; }
    .tb-category-card { padding:.75rem; gap:8px; }
    .tb-category-card strong { font-size:.75rem; }
    .tb-category-icon { font-size:1.1rem; }
    .tb-detail-title { font-size:1.7rem; }
    .tb-detail-cover { min-height:390px; }
    .tb-detail-cover>img { max-height:330px; }
    .tb-promo { padding:1.5rem; }
    .tb-cart-cover { width:60px; min-width:60px; min-height:85px; }
    .tb-cart-cover img { max-height:80px; }
    .tb-cart-item strong.text-nowrap { font-size:.8rem; }
    .tb-flow-steps { gap:7px; font-size:.65rem; }
    .tb-flow-steps b { width:20px; height:20px; }
    .tb-flow-steps>span,.tb-flow-steps>a { gap:5px; }
    .tb-auth-panel { padding:1.5rem; }
}
@media(max-width:575px) {
    .tb-brand { font-size:1.25rem; }
    .tb-brand>.bi { font-size:1.4rem; margin-right:.35rem!important; }
    .tb-nav-actions { gap:.35rem!important; }
    .tb-nav-actions .btn-round { height:32px; width:32px; line-height:32px; }
    .tb-account-button { padding:.35rem .5rem; }
    .navbar-toggler { padding:.25rem; }
    .navbar-brand { margin-right:0; }
    .tb-product-cover { height:280px; }
    .tb-product-cover>img { height:220px; }
    .tb-order-summary { position:static; }
    .tb-brand+.navbar-toggler { margin-left:auto; }
}
@media(prefers-reduced-motion:reduce) { .tb-theme * { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
