/* Tayfun Taşkın — UX / erişilebilir gezinme / mobil öncelikli iyileştirmeler (v2.7) */
:root{--ux-red:#c33337;--ux-ink:#21252b;--ux-warm:#faf8f4;--ux-line:#e8e2dc;--ux-header:78px}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--ux-header) + 14px)}
body{min-width:0;-webkit-text-size-adjust:100%;overflow-x:clip}
:is(p,h1,h2,h3,h4,dd,a){overflow-wrap:break-word}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #d7373a;outline-offset:3px}
:where(button,input,textarea,select){font:inherit}
:where(button){cursor:pointer}
.site-header,.site-header.scrolled,.book-page .site-header,.catalog-public-page .site-header{background:rgba(250,248,244,.98);color:#252528;border-bottom:1px solid #e9e2d9;box-shadow:0 4px 20px #211b1b08;backdrop-filter:blur(16px)}
.site-header{z-index:110;position:sticky;top:0}
.site-header .header-inner{min-height:var(--ux-header);gap:18px;position:relative}
.site-header .brand{min-width:0;flex-shrink:0;text-decoration:none}
.site-header .brand-symbol{width:43px;height:43px;flex-shrink:0}
.site-header .brand-word strong{color:var(--ux-ink);font-size:15px;letter-spacing:-.025em}
.site-header .brand-word small{color:#716e6b;letter-spacing:.085em;font-size:8px;font-weight:800}
.site-header .brand-word small span{color:var(--ux-red)}
.site-header .nav{gap:clamp(9px,1.15vw,22px);align-items:center}
.site-header .nav-item{align-items:center}
.site-header .nav-item>a,.site-header .nav-parent-label{font-size:12px;color:#3c4145;font-weight:750;white-space:nowrap;padding:14px 0;text-decoration:none}
.site-header .nav-item>a:hover,.site-header .nav-item>a[aria-current=page],.site-header .nav-item>a[aria-current=location]{color:var(--ux-red)}
.site-header .nav-item>a[aria-current=page]::after{content:"";height:2px;background:var(--ux-red);position:absolute;bottom:7px;left:0;right:0}
.site-header .submenu-toggle{display:grid;place-items:center;width:29px;height:35px;padding:0;color:#47413e;font-size:17px;border-radius:5px}
.site-header .submenu-toggle[aria-expanded=true]{background:#f2e8e5;color:#a9222b}
.site-header .submenu-toggle span{display:block;transition:transform .2s}
.site-header .submenu-toggle[aria-expanded=true] span{transform:rotate(180deg)}
.site-header .dropdown{min-width:224px;background:#fff;padding:9px;border:1px solid #e8e1d9;box-shadow:0 15px 36px #201c1b17;border-radius:8px;top:calc(100% + 3px);left:-12px;z-index:115}
.site-header .dropdown a{color:#2b3034;font-size:12px;padding:11px 12px;line-height:1.4;border-radius:5px;text-decoration:none}
.site-header .dropdown a:hover,.site-header .dropdown a:focus-visible{background:#f8f2ee;color:#9b252b}
.site-header .nav-contact{background:var(--ux-red);color:#fff;border:0;border-radius:5px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 17px;font-size:12px;font-weight:750;margin-left:0}
.site-header .nav-contact:hover,.site-header .nav-contact:focus-visible{background:#9e252a;color:#fff}
.site-header .nav-mobile-heading,.site-header .nav-mobile-footer{display:none}
.site-header .nav-toggle{border:1px solid #ded6ce;color:#262323;background:#fff;align-items:center;gap:10px;justify-content:center;width:auto;min-width:50px;min-height:46px;padding:9px 13px;border-radius:6px;margin-left:auto}
.site-header .nav-toggle-text{font-size:12px;font-weight:800;letter-spacing:.01em}
.site-header .nav-toggle-lines{display:grid;gap:4px;width:19px;height:auto}
.site-header .nav-toggle-lines i{height:2px;width:19px;background:#252527;display:block;border-radius:1px;transition:transform .2s,opacity .2s}
.site-header .nav-toggle[aria-expanded=true] .nav-toggle-lines i:first-child{transform:translateY(6px) rotate(45deg)}
.site-header .nav-toggle[aria-expanded=true] .nav-toggle-lines i:nth-child(2){opacity:0}
.site-header .nav-toggle[aria-expanded=true] .nav-toggle-lines i:last-child{transform:translateY(-6px) rotate(-45deg)}
.site-nav-backdrop{position:fixed;inset:var(--ux-header) 0 0;background:#13121bc2;z-index:108}
.site-nav-backdrop[hidden]{display:none!important}
.site-header .nav-close{border:0;background:#f2eeea;color:#272323;border-radius:50%;height:40px;width:40px;font-size:27px;display:grid;place-items:center}
.mobile-quickbar{display:none}
/* Blocks: typography and content rhythm */
.editorial-hero .hero-new-description{color:#565350;font-size:14px;max-width:470px}
.editorial-hero .hero-declaration h2{line-height:1.32}
.hero-visual-frame>img{filter:none;object-position:center 29%}
.hero-visual-frame:after{background:linear-gradient(0deg,rgba(15,15,18,.70),transparent 46%),linear-gradient(90deg,transparent 76%,rgba(160,21,27,.14))}
.hero-visual-redbar{opacity:.35}
.hero-visual-caption strong{overflow-wrap:normal}
.editorial-ticker .container{gap:14px}
.author-statement h2,.section-heading h2,.book-info h2{line-height:1.14}
.service-card,.ref-card,.software-card{transition:border-color .2s,transform .2s}
.content-empty{border:1px solid #e8e2db;background:#fcfaf7;padding:32px;max-width:740px}
.content-empty h3{font-size:clamp(24px,3vw,32px);margin:0 0 10px;font-family:Georgia,serif}
.content-empty p{color:#66605c;max-width:560px;line-height:1.7;margin-bottom:24px}
.content-empty .btn{display:inline-flex}
.book-page .book-product{background:linear-gradient(140deg,#29242a,#32272a 65%,#252126)}
.catalog-public-page .catalog-page-hero{background:#f5f1ec}
.catalog-public-page .catalog-page-hero h1{max-width:970px;line-height:1.12}
.catalog-list-toolbar .catalog-filter-tabs{flex-wrap:wrap;gap:12px}
.catalog-filter-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px}
.catalog-search{min-width:0}
.catalog-search input{min-height:46px;min-width:0}
.catalog-search button{min-height:46px}
.catalog-card a,.software-card a{touch-action:manipulation}
.catalog-share-links{display:flex;flex-wrap:wrap;gap:10px}
.catalog-share-links :is(a,button){display:inline-flex;min-height:44px;align-items:center;justify-content:center}
.book-product-copy .catalog-share-panel{max-width:100%}
.contact-form{scroll-margin-top:90px}
.contact-form label{display:block}
.contact-form :is(input,textarea){min-width:0;width:100%;font-size:16px}
.contact-form button{min-height:44px}
.footer-bottom{gap:18px}
/* High contrast and keyboard-friendly navigation at mid-size, not just on phones */
@media (max-width:1220px){
 :root{--ux-header:73px}
 .site-header .nav-toggle{display:inline-flex!important}
 .site-header .nav{position:fixed!important;top:var(--ux-header)!important;left:auto!important;right:0!important;bottom:0!important;width:min(430px,100vw)!important;height:calc(100dvh - var(--ux-header))!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:120;padding:15px 22px 28px!important;display:flex!important;flex-direction:column;gap:0!important;align-items:stretch!important;justify-content:flex-start;background:#faf8f4!important;border:0!important;border-left:1px solid #e8e2dc;border-radius:0!important;box-shadow:-14px 0 35px #2222;transform:translateX(105%);visibility:hidden;pointer-events:none;transition:transform .24s ease,visibility .24s ease}
 .site-header .nav.open{transform:translateX(0);visibility:visible;pointer-events:auto}
 .site-header .nav-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 18px;border-bottom:1px solid #e4ded8;margin-bottom:8px}
 .site-header .nav-mobile-heading strong{font:400 24px Georgia,serif;color:#282322}
 .site-header .nav-item{display:grid!important;grid-template-columns:minmax(0,1fr) 45px;gap:2px;border-bottom:1px solid #ebe5df;width:100%;align-items:center}
 .site-header .nav-item>a,.site-header .nav-parent-label{font-size:16px;white-space:normal;color:#262626;padding:17px 4px;line-height:1.4}
 .site-header .nav-item>a[aria-current=page]::after{display:none}
 .site-header .submenu-toggle{height:45px;width:45px;font-size:22px}
 .site-header .dropdown{display:none!important;position:static;grid-column:1 / -1;background:#f5f0eb;border:0;border-radius:6px;box-shadow:none;min-width:0;margin:0 0 12px;padding:5px 8px}
 .site-header .nav-item.open .dropdown{display:grid!important}
 .site-header .dropdown a{font-size:14px;min-height:45px;align-items:center;display:flex;border-bottom:1px solid #e7dfd8}
 .site-header .dropdown a:last-child{border-bottom:0}
 .site-header .nav-contact{width:100%;min-height:50px;font-size:15px;margin:23px 0 14px}
 .site-header .nav-mobile-footer{display:block;color:#98908b;font-size:10px;letter-spacing:.08em;border-top:1px solid #e6ded7;padding:14px 0}
 body.nav-is-open{overflow:hidden}
}
@media (min-width:1221px){
 .site-header .nav-toggle{display:none!important}
 .site-header .nav{position:static!important;transform:none!important;visibility:visible!important;pointer-events:auto!important;overflow:visible!important}
}
@media (max-width:820px){
 .container{width:calc(100% - 36px)}
 .site-header .brand-word strong{font-size:14px}
 .editorial-hero-main{grid-template-columns:1fr}
 .editorial-hero-copy{padding:30px 24px 26px}
 .editorial-hero h1{font-size:clamp(60px,13vw,91px);line-height:.92}
 .editorial-hero h1 .hero-fullstop{display:none}
 .hero-title-wrap{margin-top:24px}
 .hero-declaration{margin-top:26px}
 .editorial-hero-bottom{margin-top:22px}
 .editorial-hero-visual,.hero-visual-frame{min-height:410px}
 .hero-visual-caption strong{font-size:clamp(44px,9vw,70px)}
 .section{padding:66px 0}
 .author-statement-inner{grid-template-columns:25px minmax(0,1fr);gap:12px}
 .book-product{padding:48px 0 70px}
 .catalog-detail-cover{min-height:330px}
 .contact-layout{gap:25px}
 .contact-form{padding:26px}
 .footer-brand .brand-word strong{color:#fff}
}
@media (max-width:600px){
 :root{--ux-header:66px}
 .site-header .header-inner{min-height:var(--ux-header)}
 .site-header .brand-symbol{width:36px;height:36px;font-size:21px}
 .site-header .brand{gap:8px}
 .site-header .brand-word strong{font-size:13px}
 .site-header .brand-word small{font-size:7px;letter-spacing:.03em}
 .site-header .nav-toggle{padding:8px 10px;min-height:44px;min-width:44px}
 .site-header .nav-toggle-text{font-size:11px}
 .site-header .nav{width:100vw!important;padding:12px 21px 100px!important}
 .editorial-hero-copy{padding:27px 20px 24px}
 .hero-kicker{font-size:9px;line-height:1.5}
 .editorial-hero h1{font-size:clamp(58px,14vw,82px);letter-spacing:-.075em}
 .hero-role{font-size:9px;line-height:1.7}
 .editorial-actions{gap:12px}
 .editorial-actions .editorial-btn{flex:1 1 100%;min-height:49px;justify-content:space-between;font-size:13px}
 .editorial-hero-bottom{font-size:9px}
 .editorial-hero-visual,.hero-visual-frame{min-height:345px}
 .hero-visual-stamp{width:65px;height:74px;left:22px;top:21px}
 .hero-visual-stamp strong{font-size:29px}
 .hero-visual-caption{bottom:22px;left:24px;right:20px}
 .hero-visual-caption strong{font-size:clamp(38px,12vw,54px)}
 .portrait-aside{font-size:8px}
 .editorial-ticker .container{min-height:52px;gap:8px}
 .editorial-ticker span,.editorial-ticker a{font-size:8px;white-space:normal;line-height:1.4}
 .author-statement h2{font-size:24px}
 .section-heading h2{font-size:clamp(36px,11vw,53px)}
 .services-section .service-card{min-height:auto;padding:22px}
 .book-section .book-info h2{font-size:clamp(44px,11vw,66px)}
 .book-visual{height:390px}
 .catalog-grid,.catalog-related .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-card-image,.home-catalog-section .catalog-card-image{height:200px}
 .catalog-detail-copy h1{font-size:clamp(37px,11vw,49px)}
 .catalog-page-hero h1{font-size:clamp(38px,11vw,52px)}
 .catalog-list-toolbar .catalog-filter-tabs{gap:4px}
 .catalog-filter-tabs a{font-size:12px;min-height:43px}
 .contact-form{padding:20px}
 .captcha-row{gap:14px}
 .footer-bottom{padding-bottom:80px}
 .mobile-quickbar{display:grid;position:fixed;z-index:90;bottom:0;left:0;right:0;grid-template-columns:repeat(3,1fr);gap:0;background:rgba(255,255,255,.98);border-top:1px solid #ded8d2;box-shadow:0 -6px 25px #2b1f1b14;padding:7px max(10px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-right))}
 .mobile-quickbar a{font-size:12px;text-align:center;color:#24292e;font-weight:800;min-height:43px;display:grid;place-items:center;border-right:1px solid #e7dfd9;text-decoration:none}
 .mobile-quickbar a:last-child{border:0;color:#fff;background:var(--ux-red);border-radius:4px}
 body.nav-is-open .mobile-quickbar{display:none}
 body{padding-bottom:68px}
 .cookie-consent{bottom:calc(75px + env(safe-area-inset-bottom))!important}
}
@media (max-width:380px){
 .site-header .brand-word small{letter-spacing:0;font-size:6.8px}
 .site-header .brand-word strong{font-size:12px}
 .hero-kicker{letter-spacing:.05em}
 .editorial-hero h1{font-size:clamp(52px,13.5vw,65px)}
 .catalog-grid,.catalog-related .catalog-grid{grid-template-columns:1fr}
 .catalog-card-image,.home-catalog-section .catalog-card-image{height:260px}
 .mobile-quickbar a{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Keep the closed off-canvas menu within the viewport box; prevents horizontal scroll on Safari/Chromium. */
@media(max-width:1220px){
 .site-header .nav{transform:none!important;opacity:0;transition:opacity .17s ease,visibility .17s ease}
 .site-header .nav.open{opacity:1}
}
/* Override legacy icon span rule; the menu label must never become a decorative bar. */
.site-header .nav-toggle .nav-toggle-lines{display:flex!important;flex-direction:column;gap:4px;margin:0!important;padding:0;width:19px!important;height:auto!important;background:none!important;border:0}
.site-header .nav-toggle .nav-toggle-lines i{width:19px;height:2px;background:#252527;border-radius:2px;display:block}
.site-header .nav-toggle .nav-toggle-text{display:inline-block!important;width:auto!important;height:auto!important;line-height:1.2;margin:0!important;background:none!important;font-size:12px;font-weight:800;color:#252527}

.catalog-page-hero:after{content:"KİTAPLAR / ÜRÜNLER"}
