/* VEK Core Bundle v0.40.0
   Generated from verified modular sources.
   Do not load source modules together with this bundle.
*/

/* =========================================================
   Book Detail 0.4.6
   source: VEK-v0.4.6-book-detail.css
   ========================================================= */
/* VEK Book Detail v0.4.6 - Saved Books Ready */

body.type-product.vek-ebook-product .p-info-wrapper,
body.type-product.vek-ebook-product .p-detail-inner{
position:relative;
}

/* ===== HEADER / HIERARCHIE ===== */

.vek-book-kicker{
display:inline-flex;
align-items:center;
gap:6px;
margin:0 0 9px;
padding:4px 8px;
border-radius:999px;
background:#f1f5f8;
color:#42566a;
font-size:11px;
font-weight:700;
letter-spacing:.02em;
}
.vek-book-kicker::before{
content:"";
width:7px;height:7px;border-radius:50%;
background:#174f86;
}

.vek-book-author{
margin:0 0 7px;
color:#5f6872;
font-size:14px;
font-weight:600;
line-height:1.35;
}
.vek-book-author::before{
content:"Autor";
display:block;
margin-bottom:2px;
color:#89919a;
font-size:10px;
font-weight:700;
letter-spacing:.08em;
text-transform:uppercase;
}

body.type-product.vek-ebook-product h1{
line-height:1.16;
margin-bottom:12px;
}

/* ===== FORMÁTY + META ===== */

.vek-book-formats{
display:flex;
flex-wrap:wrap;
gap:6px;
margin:0 0 10px;
}
.vek-book-format{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:46px;
min-height:28px;
padding:5px 9px;
border-radius:4px;
background:#174f86;
color:#fff;
font-size:11px;
font-weight:800;
letter-spacing:.04em;
text-transform:uppercase;
}

.vek-book-meta{
display:flex;
flex-wrap:wrap;
gap:6px;
margin:0 0 14px;
}
.vek-book-meta-item{
display:inline-flex;
align-items:center;
min-height:28px;
padding:5px 8px;
border:1px solid #dde2e7;
border-radius:4px;
background:#fff;
color:#4b5560;
font-size:11px;
line-height:1.2;
}
.vek-book-meta-item strong{
margin-right:4px;
color:#222;
font-weight:700;
}

/* ===== BUY ZONE ===== */

.vek-book-buy-zone{
display:flex;
flex-direction:column;
gap:10px;
margin:14px 0 12px;
padding:14px;
border:1px solid #e2e6ea;
border-radius:7px;
background:#fafbfc;
}

.vek-book-price-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
}

.vek-book-price-row .price-final,
.vek-book-price-row .p-final-price,
.vek-book-price-row .p-final-price-wrapper{
margin:0!important;
}

.vek-book-cart-row{
display:flex;
align-items:center;
justify-content:flex-end;
gap:6px;
}

/* Při přesunu zachovat Shoptet formulář */
.vek-book-cart-row form,
.vek-book-cart-row .p-to-cart-block,
.vek-book-cart-row .add-to-cart{
margin:0!important;
width:100%;
}

.vek-book-previews{
display:flex;
flex-wrap:wrap;
gap:8px;
}
.vek-book-preview{
display:inline-flex!important;
align-items:center;
justify-content:center;
min-height:42px;
padding:9px 14px!important;
border-radius:4px;
font-size:12px;
font-weight:700;
text-decoration:none!important;
}
.vek-book-preview-pdf{
border:1px solid #222!important;
background:#222!important;
color:#fff!important;
}
.vek-book-preview-pdf:hover{
background:#444!important;color:#fff!important;
}
.vek-book-preview-epub{
border:1px solid #174f86!important;
background:#fff!important;
color:#174f86!important;
}
.vek-book-preview-epub:hover{
background:#f2f6fa!important;color:#174f86!important;
}

.vek-book-delivery-note{
display:flex;
align-items:flex-start;
gap:9px;
padding:9px 11px;
border-radius:5px;
background:#f4f8f5;
color:#53615a;
font-size:11px;
line-height:1.4;
}
.vek-book-delivery-note::before{
content:"✓";
display:flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
width:19px;height:19px;
border-radius:50%;
background:#e3f1e7;
color:#277a46;
font-size:11px;
font-weight:800;
}

/* ===== PODROBNOSTI ===== */

.vek-book-details{
margin-top:14px;
border-top:1px solid #e1e4e7;
border-bottom:1px solid #e1e4e7;
}
.vek-book-details summary{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
padding:12px 2px;
cursor:pointer;
list-style:none;
color:#222;
font-size:13px;
font-weight:700;
}
.vek-book-details summary::-webkit-details-marker{display:none}
.vek-book-details summary::after{
content:"+";
display:flex;
align-items:center;
justify-content:center;
width:24px;height:24px;
border-radius:50%;
background:#f1f3f5;
color:#4d5660;
font-size:18px;
font-weight:400;
}
.vek-book-details[open] summary::after{content:"−"}

.vek-book-details-grid{
display:grid;
grid-template-columns:minmax(125px,auto) 1fr;
gap:7px 16px;
padding:0 2px 14px;
font-size:12px;
line-height:1.4;
}
.vek-book-detail-label{
color:#69727c;
font-weight:600;
}
.vek-book-detail-value{
color:#222;
overflow-wrap:anywhere;
}

/* ===== CLEANUP ===== */

.vek-book-hidden{
display:none!important;
}

.vek-book-clean-empty{
display:none!important;
}

/* ===== MOBILE ===== */
@media(max-width:767px){
.vek-book-author{font-size:13px}

.vek-book-buy-zone{
padding:12px;
gap:9px;
}

.vek-book-previews{
display:grid;
grid-template-columns:1fr;
}
.vek-book-preview{
width:100%;
}

.vek-book-cart-row{
justify-content:stretch;
}
.vek-book-cart-row > *{
width:100%;
}

.vek-book-details-grid{
grid-template-columns:1fr;
gap:3px;
}
.vek-book-detail-label{
margin-top:7px;
font-size:10px;
text-transform:uppercase;
letter-spacing:.04em;
}
}


/* ===== VEK v0.3.5 – SAFE TABS + UTILITIES ===== */

/* Obsah technických údajů uvnitř existujícího panelu Diskuze */
.vek-book-details-native-panel{
padding:18px 4px 8px;
}

.vek-book-details-native-panel .vek-book-details-grid{
display:grid;
grid-template-columns:minmax(125px,auto) 1fr;
gap:8px 18px;
padding:0;
font-size:12px;
line-height:1.45;
}

.vek-book-details-native-panel .vek-book-detail-label{
color:#69727c;
font-weight:600;
}

.vek-book-details-native-panel .vek-book-detail-value{
color:#222;
overflow-wrap:anywhere;
}

/* Nativní záložka přejmenovaná z Diskuze */
.vek-book-native-details-tab{
font-weight:600!important;
}

/* Tisk / Zeptat se / Sdílet – pouze zjemnění, bez přesunu DOM */
body.vek-ebook-product .vek-book-utility-soft{
opacity:.58;
font-size:11px!important;
font-weight:500!important;
transition:opacity .15s ease,color .15s ease;
}

body.vek-ebook-product .vek-book-utility-soft:hover{
opacity:1;
color:#174f86!important;
}

/* jejich případné wrappery zjemnit také */
body.vek-ebook-product .vek-book-utility-wrap-soft{
opacity:.72;
}

/* mobil */
@media(max-width:767px){
.vek-book-details-native-panel{
padding:14px 2px 6px;
}

.vek-book-details-native-panel .vek-book-details-grid{
grid-template-columns:1fr;
gap:3px;
}

.vek-book-details-native-panel .vek-book-detail-label{
margin-top:8px;
font-size:10px;
text-transform:uppercase;
letter-spacing:.04em;
}
}


/* ===== VEK v0.3.7 – LINKED METADATA ===== */

.vek-book-meta-link{
color:#174f86!important;
text-decoration:none!important;
border-bottom:1px dotted rgba(23,79,134,.35);
}

.vek-book-meta-link:hover{
color:#0d3e6b!important;
border-bottom-color:#174f86;
}

.vek-book-copy-wrap{
display:inline-flex;
align-items:center;
gap:6px;
}

.vek-book-copy-btn{
display:inline-flex;
align-items:center;
justify-content:center;
width:24px;
height:24px;
padding:0!important;
border:1px solid #d8dde2!important;
border-radius:4px;
background:#fff!important;
color:#5e6872!important;
font-size:13px!important;
line-height:1;
cursor:pointer;
}

.vek-book-copy-btn:hover{
border-color:#aeb8c1!important;
color:#174f86!important;
}

.vek-book-copy-btn.copied{
border-color:#8fc89f!important;
background:#eef8f1!important;
color:#277a46!important;
}

.vek-book-format[title]{
cursor:help;
}

/* ===== ROBUSTNÍ VODOROVNÉ UTILITY ===== */

.vek-book-utility-row-v037{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px 16px;
margin:10px 0 15px;
padding:0 2px;
}

.vek-book-utility-v037{
display:inline-flex!important;
align-items:center;
gap:6px;
min-height:28px;
padding:3px 0!important;
border:0!important;
background:transparent!important;
box-shadow:none!important;
color:#737d86!important;
font-size:11px!important;
font-weight:500!important;
line-height:1.2;
text-decoration:none!important;
cursor:pointer;
opacity:.78;
}

.vek-book-utility-v037:hover{
color:#174f86!important;
opacity:1;
}

.vek-book-utility-icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:15px;
height:15px;
font-size:13px;
line-height:1;
opacity:.75;
}

/* původní utility po vytvoření nové řady */
.vek-book-original-utility-hidden{
display:none!important;
}

@media(max-width:767px){
.vek-book-utility-row-v037{
gap:6px 12px;
}
}


/* ===== VEK v0.3.9 – PRODUCT DETAIL POLISH ===== */

/* Více klidu mezi hlavními bloky */
body.vek-ebook-product .vek-book-formats{
margin-top:2px;
margin-bottom:9px;
}

body.vek-ebook-product .vek-book-meta{
margin-bottom:18px;
}

/* Nákupní box – jemnější, ale jasně oddělený */
body.vek-ebook-product .vek-book-buy-zone{
gap:11px;
padding:16px;
border-color:#dfe4e8;
border-radius:8px;
background:#fbfcfd;
box-shadow:0 5px 18px rgba(24,45,63,.055);
}

/* Cena jako hlavní vizuální kotva */
body.vek-ebook-product .vek-book-buy-zone .price-final,
body.vek-ebook-product .vek-book-buy-zone .p-final-price,
body.vek-ebook-product .vek-book-buy-zone .p-final-price-wrapper{
font-size:30px!important;
font-weight:700!important;
line-height:1.05!important;
color:#17202a!important;
}

/* Ukázky – sekundární CTA, výškově sjednocené */
body.vek-ebook-product .vek-book-preview{
min-height:42px;
padding:9px 13px!important;
transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}

body.vek-ebook-product .vek-book-preview:hover{
transform:translateY(-1px);
}

body.vek-ebook-product .vek-book-preview-pdf::before{
content:"▤";
font-size:14px;
line-height:1;
}

body.vek-ebook-product .vek-book-preview-epub::before{
content:"▥";
font-size:14px;
line-height:1;
}

/* Košík – quantity + hlavní CTA jako jeden řádek */
body.vek-ebook-product .vek-book-cart-row{
display:flex;
align-items:stretch;
gap:0;
width:100%;
}

body.vek-ebook-product .vek-book-cart-row form,
body.vek-ebook-product .vek-book-cart-row .p-to-cart-block,
body.vek-ebook-product .vek-book-cart-row .add-to-cart{
display:flex!important;
align-items:stretch!important;
width:100%!important;
margin:0!important;
}

/* Číselné pole a +/- */
body.vek-ebook-product .vek-book-cart-row input[type="number"],
body.vek-ebook-product .vek-book-cart-row input[name*="amount"],
body.vek-ebook-product .vek-book-cart-row input[name*="quantity"],
body.vek-ebook-product .vek-book-cart-row .quantity input{
min-height:44px!important;
height:44px!important;
box-sizing:border-box!important;
}

/* Hlavní přidání do košíku */
body.vek-ebook-product .vek-book-cart-row button[type="submit"],
body.vek-ebook-product .vek-book-cart-row input[type="submit"],
body.vek-ebook-product .vek-book-cart-row .add-to-cart-button,
body.vek-ebook-product .vek-book-cart-row .btn-cart{
min-height:44px!important;
height:44px!important;
flex:1 1 auto!important;
padding-left:18px!important;
padding-right:18px!important;
font-weight:700!important;
letter-spacing:.01em;
}

/* Informační řádek o elektronickém dodání */
body.vek-ebook-product .vek-book-delivery-note{
margin-top:1px;
padding:8px 10px;
border:1px solid #e7f0ea;
background:#f7fbf8;
color:#607067;
font-size:10.5px;
}

/* „Možnosti doručení“ má být sekundární informace */
body.vek-ebook-product .vek-book-delivery-heading-soft{
color:#6f7982!important;
font-size:11px!important;
font-weight:600!important;
text-decoration:none!important;
opacity:.84;
}

/* Promo 3+1 necháme výrazné, ale oddělíme vzduchem */
body.vek-ebook-product .vek-book-buy-zone + *{
margin-top:16px;
}

/* Utility řádek v0.3.7/0.3.8 */
body.vek-ebook-product .vek-book-utility-row-v037{
margin-top:8px;
margin-bottom:14px;
padding-top:7px;
border-top:1px solid #edf0f2;
}

/* Metadata – jemnější klikatelné hodnoty */
body.vek-ebook-product .vek-book-details-native-panel .vek-book-meta-link{
font-weight:600;
}

/* Přehlednější panel technických údajů */
body.vek-ebook-product .vek-book-details-native-panel .vek-book-details-grid{
row-gap:9px;
}

body.vek-ebook-product .vek-book-details-native-panel .vek-book-detail-label{
color:#77818b;
}

/* Tablet / mobil */
@media(max-width:991px){
body.vek-ebook-product .vek-book-buy-zone{
padding:14px;
}

body.vek-ebook-product .vek-book-buy-zone .price-final,
body.vek-ebook-product .vek-book-buy-zone .p-final-price,
body.vek-ebook-product .vek-book-buy-zone .p-final-price-wrapper{
font-size:27px!important;
}
}

@media(max-width:767px){
body.vek-ebook-product .vek-book-previews{
grid-template-columns:1fr 1fr;
}

body.vek-ebook-product .vek-book-preview{
width:100%;
padding-left:8px!important;
padding-right:8px!important;
font-size:11px;
}

body.vek-ebook-product .vek-book-cart-row button[type="submit"],
body.vek-ebook-product .vek-book-cart-row input[type="submit"],
body.vek-ebook-product .vek-book-cart-row .add-to-cart-button,
body.vek-ebook-product .vek-book-cart-row .btn-cart{
min-width:0!important;
}

body.vek-ebook-product .vek-book-delivery-note{
font-size:10px;
}
}

@media(max-width:430px){
body.vek-ebook-product .vek-book-previews{
grid-template-columns:1fr;
}
}


/* ===== VEK Book Detail v0.4.0 – MULTI AUTHOR & COVER PREVIEWS ===== */

/* Každý autor samostatně */
.vek-book-author-links,
.vek-book-detail-author-links{
display:inline;
}

.vek-book-author-link{
color:#174f86!important;
font-weight:600;
text-decoration:none!important;
border-bottom:1px dotted rgba(23,79,134,.34);
}

.vek-book-author-link:hover{
color:#0d3e6b!important;
border-bottom-color:#174f86;
}

.vek-book-author-sep{
color:#8a949d;
}

/* Preview pod obálkou – desktop */
.vek-book-cover-previews{
width:100%;
max-width:340px;
margin:14px auto 0;
padding:0 8px;
box-sizing:border-box;
}

.vek-book-cover-previews .vek-book-previews{
display:grid!important;
grid-template-columns:repeat(auto-fit,minmax(125px,1fr));
gap:8px;
width:100%;
}

.vek-book-cover-previews .vek-book-preview{
width:100%;
min-height:40px;
padding:8px 10px!important;
box-sizing:border-box;
font-size:11px;
}

/* V levém sloupci jsou ukázky sekundární akcí */
.vek-book-cover-previews .vek-book-preview-pdf{
border:1px solid #26313a!important;
background:#fff!important;
color:#26313a!important;
}

.vek-book-cover-previews .vek-book-preview-pdf:hover{
background:#f5f7f8!important;
color:#17202a!important;
}

.vek-book-cover-previews .vek-book-preview-epub{
border:1px solid #174f86!important;
background:#fff!important;
color:#174f86!important;
}

.vek-book-cover-previews::before{
content:"Ukázka e-knihy";
display:block;
margin-bottom:7px;
color:#7a858e;
font-size:10px;
font-weight:700;
letter-spacing:.06em;
text-align:center;
text-transform:uppercase;
}

/* Na mobilu se preview vrací do nákupního boxu */
@media(max-width:767px){
.vek-book-cover-previews{
display:none!important;
}

.vek-book-buy-zone .vek-book-previews{
display:grid!important;
grid-template-columns:1fr 1fr;
}

.vek-book-buy-zone .vek-book-preview{
width:100%;
}
}

@media(max-width:430px){
.vek-book-buy-zone .vek-book-previews{
grid-template-columns:1fr;
}
}


/* ===== VEK Book Detail v0.4.1 – PREVIEW POLISH ===== */
.vek-book-cover-previews{
max-width:330px;
margin-top:16px;
padding:12px 12px 11px;
border:1px solid #e2e7eb;
border-radius:8px;
background:#fafcfd;
}
.vek-book-cover-previews::before{
content:"Ukázka zdarma";
margin-bottom:4px;
color:#263746;
font-size:10.5px;
font-weight:800;
letter-spacing:.055em;
}
.vek-book-cover-previews::after{
content:"Prohlédněte si část e-knihy před nákupem.";
display:block;
margin:7px 0 0;
color:#7c8790;
font-size:9.8px;
line-height:1.3;
text-align:center;
}
.vek-book-cover-previews .vek-book-previews{margin-top:8px;}
.vek-book-cover-previews .vek-book-preview{
min-height:38px;
border-radius:5px!important;
font-weight:700!important;
}
.vek-book-cover-previews .vek-book-preview::before{opacity:.72;}
@media(max-width:767px){
.vek-book-cover-previews{display:none!important;}
.vek-book-buy-zone .vek-book-previews{margin-top:2px;}
}


/* ===== VEK Book Detail v0.4.2 – TRUST & ACCESSIBILITY ===== */

.vek-book-confidence{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px 10px;
margin:9px 0 0;
padding-top:8px;
border-top:1px solid #e7ecef;
color:#68747d;
font-size:9.8px;
line-height:1.3;
}

.vek-book-confidence-item{
display:inline-flex;
align-items:center;
gap:5px;
}

.vek-book-confidence-item::before{
content:"✓";
display:inline-flex;
align-items:center;
justify-content:center;
width:15px;
height:15px;
border-radius:50%;
background:#edf7f0;
color:#2e7d4d;
font-size:9px;
font-weight:800;
}

.vek-book-confidence-formats::before{
content:"";
background:#edf3f8;
}

.vek-book-confidence-formats::after{
content:"";
}

.vek-book-confidence-security::before{
content:"✓";
}

body.vek-ebook-product a:focus-visible,
body.vek-ebook-product button:focus-visible,
body.vek-ebook-product input:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

.vek-book-preview[aria-label]{
position:relative;
}

@media(max-width:767px){
.vek-book-confidence{
gap:5px 8px;
font-size:9.5px;
}
}

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


/* ===== VEK Book Detail v0.4.3 – SEO & DETAIL UTILITY ===== */

.vek-book-detail-tools{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px 10px;
margin:10px 0 2px;
padding-top:8px;
border-top:1px solid #edf0f2;
}

.vek-book-detail-tool{
display:inline-flex;
align-items:center;
gap:5px;
min-height:28px;
padding:4px 0!important;
border:0!important;
background:transparent!important;
box-shadow:none!important;
color:#6e7881!important;
font-size:10.5px!important;
font-weight:600!important;
line-height:1.2;
text-decoration:none!important;
cursor:pointer;
}

.vek-book-detail-tool:hover{
color:#174f86!important;
}

.vek-book-detail-tool-icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:15px;
height:15px;
font-size:12px;
opacity:.78;
}

.vek-book-detail-tool.copied{
color:#2e7d4d!important;
}

.vek-book-detail-tool.copied .vek-book-detail-tool-icon{
color:#2e7d4d;
}

@media(max-width:767px){
.vek-book-detail-tools{
gap:5px 12px;
}
}


/* ===== VEK Book Detail v0.4.4 – MOBILE STICKY BUY ===== */

.vek-mobile-buybar{
display:none;
}

@media(max-width:767px){
body.vek-ebook-product.vek-mobile-buybar-visible{
padding-bottom:72px;
}

.vek-mobile-buybar{
position:fixed;
left:0;
right:0;
bottom:0;
z-index:9998;
display:flex;
align-items:center;
gap:10px;
min-height:62px;
padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
border-top:1px solid #dfe5e9;
background:rgba(255,255,255,.97);
box-shadow:0 -8px 24px rgba(24,44,61,.10);
transform:translateY(110%);
opacity:0;
pointer-events:none;
transition:transform .18s ease,opacity .18s ease;
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
}

body.vek-mobile-buybar-visible .vek-mobile-buybar{
transform:translateY(0);
opacity:1;
pointer-events:auto;
}

.vek-mobile-buybar-copy{
display:flex;
flex:1 1 auto;
flex-direction:column;
min-width:0;
}

.vek-mobile-buybar-title{
display:block;
overflow:hidden;
color:#596772;
font-size:9px;
font-weight:650;
line-height:1.15;
text-overflow:ellipsis;
white-space:nowrap;
}

.vek-mobile-buybar-price{
margin-top:2px;
color:#202830;
font-size:15px;
font-weight:850;
line-height:1;
}

.vek-mobile-buybar-button{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
min-width:122px;
min-height:42px;
padding:8px 13px;
border:1px solid #2384bd;
border-radius:4px;
background:#2384bd;
color:#fff;
font-size:11px;
font-weight:800;
line-height:1;
cursor:pointer;
}

.vek-mobile-buybar-button:hover{
background:#1d73a6;
border-color:#1d73a6;
}

.vek-mobile-buybar-button:disabled{
opacity:.55;
cursor:not-allowed;
}

.vek-mobile-buybar-button:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}
}

@media(prefers-reduced-motion:reduce){
.vek-mobile-buybar{
transition:none!important;
}
}


/* ===== VEK Book Detail v0.4.6 – SAVED BOOKS READY ===== */
.vek-book-detail-tools{
min-height:29px;
}


/* =========================================================
   Catalog 0.5.5
   source: VEK-v0.5.5-catalog.css
   ========================================================= */
/* VEK Catalog v0.5.5 - Saved Books Ready */

body.vek-catalog-active .vek-book-card{
position:relative;
transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

body.vek-catalog-active .vek-book-card:hover{
transform:translateY(-2px);
}

/* Obálka - knihkupecký vzhled, bez deformace */
body.vek-catalog-active .vek-book-card img{
object-fit:contain;
}

/* Badge e-knihy */
.vek-catalog-badge{
display:inline-flex;
align-items:center;
gap:5px;
margin:0 0 7px;
padding:4px 7px;
border-radius:999px;
background:#eef3f7;
color:#40566b;
font-size:10px;
font-weight:800;
line-height:1;
letter-spacing:.035em;
text-transform:uppercase;
}

.vek-catalog-badge::before{
content:"";
width:6px;
height:6px;
border-radius:50%;
background:#174f86;
}

/* Autor */
.vek-catalog-author{
display:block;
margin:0 0 5px;
color:#68727c;
font-size:11px;
font-weight:600;
line-height:1.35;
text-decoration:none!important;
}

a.vek-catalog-author:hover{
color:#174f86;
text-decoration:underline!important;
text-underline-offset:2px;
}

/* Název knihy */
body.vek-catalog-active .vek-book-card .vek-catalog-title{
display:block;
margin-bottom:7px;
color:#202830!important;
font-weight:700!important;
line-height:1.32!important;
text-decoration:none!important;
}

/* Delší názvy udržíme kompaktní */
body.vek-catalog-active .vek-book-card .vek-catalog-title{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
overflow:hidden;
}

/* Cena jako samostatná kotva */
body.vek-catalog-active .vek-book-card .price,
body.vek-catalog-active .vek-book-card .price-final,
body.vek-catalog-active .vek-book-card .p-final-price{
font-weight:700!important;
}

/* Původní opakované "E-kniha ke stažení" */
.vek-catalog-duplicate-delivery{
display:none!important;
}

/* Lehce zjemnit technický spodní řádek karty */
body.vek-catalog-active .vek-book-card .p-bottom,
body.vek-catalog-active .vek-book-card .product-bottom{
margin-top:8px;
}

/* Tlačítko košíku - sjednocení výšky */
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card input[type="submit"]{
min-height:38px;
}

/* Desktop */
@media(min-width:992px){
body.vek-catalog-active .vek-book-card{
height:100%;
}
}

/* Mobil */
@media(max-width:767px){
.vek-catalog-author{
font-size:10.5px;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
-webkit-line-clamp:2;
}

.vek-catalog-badge{
font-size:9px;
}
}


/* ===== VEK Catalog v0.4.1 – SHOPTET DOM FIX ===== */

/* V0.4.1 nepřidává vlastní badge – Shoptet už má stuhu E-KNIHA KE STAŽENÍ. */
.vek-catalog-badge{
display:none!important;
}

/* Autor oddělený od názvu – kompaktní knihkupecká hierarchie */
body.vek-catalog-active .vek-book-card .vek-catalog-author{
display:block!important;
margin:7px 8px 3px!important;
color:#66717b!important;
font-size:11px!important;
font-weight:600!important;
line-height:1.3!important;
text-align:center;
text-decoration:none!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-author:hover{
color:#174f86!important;
text-decoration:underline!important;
text-underline-offset:2px;
}

/* Název po vyčištění od autora a [e-kniha] */
body.vek-catalog-active .vek-book-card .vek-catalog-title{
display:-webkit-box!important;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
overflow:hidden;
min-height:3.95em;
margin:0 8px 8px!important;
color:#202830!important;
font-weight:700!important;
line-height:1.32!important;
text-align:center;
text-decoration:none!important;
}

/* Spodní duplicitní text opravdu odstranit */
body.vek-catalog-active .vek-catalog-duplicate-delivery{
display:none!important;
}

/* Jemnější karta */
body.vek-catalog-active .vek-book-card{
border-color:#e0e4e7!important;
background:#fff;
}

body.vek-catalog-active .vek-book-card:hover{
border-color:#cbd3da!important;
box-shadow:0 8px 22px rgba(22,43,61,.07);
}

/* Cena + CTA */
body.vek-catalog-active .vek-book-card .price,
body.vek-catalog-active .vek-book-card .price-final,
body.vek-catalog-active .vek-book-card .p-final-price{
margin-top:4px!important;
font-weight:700!important;
}

body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card input[type="submit"]{
transition:filter .15s ease,transform .15s ease;
}

body.vek-catalog-active .vek-book-card .btn:hover,
body.vek-catalog-active .vek-book-card button:hover,
body.vek-catalog-active .vek-book-card input[type="submit"]:hover{
transform:translateY(-1px);
}

/* Mobil */
@media(max-width:767px){
body.vek-catalog-active .vek-book-card .vek-catalog-author{
margin-left:4px!important;
margin-right:4px!important;
font-size:10.5px!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
min-height:0;
margin-left:4px!important;
margin-right:4px!important;
-webkit-line-clamp:3;
}
}


/* ===== VEK Catalog v0.4.2 – CATALOG POLISH ===== */

/* Horní seznam podkategorií – modernější navigace */
body.type-category.vek-catalog-active .category-perex ul{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:6px 14px;
margin:10px 0 18px!important;
padding:0!important;
list-style:none!important;
}

body.type-category.vek-catalog-active .category-perex li{
margin:0!important;
padding:0!important;
list-style:none!important;
}

body.type-category.vek-catalog-active .category-perex li::before{
display:none!important;
content:none!important;
}

body.type-category.vek-catalog-active .category-perex a{
display:block;
padding:5px 7px;
border-radius:5px;
color:#174f86;
font-size:12px;
line-height:1.25;
text-decoration:none!important;
transition:background .14s ease,color .14s ease;
}

body.type-category.vek-catalog-active .category-perex a:hover{
background:#f1f5f8;
color:#0d3e6b;
}

/* Karty – čistší knihkupecký rytmus */
body.vek-catalog-active .products-block,
body.vek-catalog-active .products{
row-gap:18px;
}

body.vek-catalog-active .vek-book-card{
display:flex!important;
flex-direction:column;
height:100%;
border-radius:6px;
overflow:hidden;
}

/* Obsah pod obálkou má využít celou dostupnou výšku */
body.vek-catalog-active .vek-book-card .p-in{
display:flex!important;
flex:1 1 auto;
flex-direction:column;
}

body.vek-catalog-active .vek-book-card .p-in-in{
display:flex!important;
flex:1 1 auto;
flex-direction:column;
}

/* Obálka – vizuálně klidnější stage */
body.vek-catalog-active .vek-book-card > a.image,
body.vek-catalog-active .vek-book-card .image{
display:flex!important;
align-items:center;
justify-content:center;
background:#fff;
}

body.vek-catalog-active .vek-book-card .image img{
display:block;
max-width:100%;
max-height:100%;
margin:auto;
object-fit:contain;
}

/* Autor max 2 řádky */
body.vek-catalog-active .vek-book-card .vek-catalog-author{
display:-webkit-box!important;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
overflow:hidden;
min-height:1.4em;
}

/* Titul má konzistentní prostor */
body.vek-catalog-active .vek-book-card .vek-catalog-title{
min-height:3.95em;
}

/* Spodní nákupní část přitlačit dolů */
body.vek-catalog-active .vek-book-card .p-bottom,
body.vek-catalog-active .vek-book-card .product-bottom{
margin-top:auto!important;
padding-top:8px;
}

/* Cena výraznější, ale ne přehnaná */
body.vek-catalog-active .vek-book-card .price,
body.vek-catalog-active .vek-book-card .price-final,
body.vek-catalog-active .vek-book-card .p-final-price{
font-size:15px!important;
line-height:1.2!important;
}

/* Košík – sjednocení */
body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card input[type="submit"]{
border-radius:3px;
font-weight:600!important;
}

/* Řazení – méně těžké záložky */
body.type-category.vek-catalog-active .filters-wrapper,
body.type-category.vek-catalog-active .category-header{
margin-bottom:14px;
}

body.type-category.vek-catalog-active .filters-wrapper a,
body.type-category.vek-catalog-active .category-header a{
transition:background .14s ease,border-color .14s ease,color .14s ease;
}

/* Tablet */
@media(max-width:1199px){
body.type-category.vek-catalog-active .category-perex ul{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

/* Mobil / tablet */
@media(max-width:767px){
body.type-category.vek-catalog-active .category-perex ul{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:4px 8px;
}

body.type-category.vek-catalog-active .category-perex a{
padding:5px 4px;
font-size:11px;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
min-height:0;
}
}

@media(max-width:430px){
body.type-category.vek-catalog-active .category-perex ul{
grid-template-columns:1fr;
}
}


/* ===== VEK Catalog v0.4.3 – GENRE NAVIGATION & CATALOG UX ===== */

/* Robustně označený horní seznam žánrů */
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
display:grid!important;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:6px 10px;
margin:10px 0 18px!important;
padding:0!important;
list-style:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid > li{
margin:0!important;
padding:0!important;
list-style:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid > li::before{
display:none!important;
content:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a{
display:block!important;
height:100%;
padding:7px 9px!important;
border:1px solid #e5e9ed;
border-radius:6px;
background:#fff;
color:#174f86!important;
font-size:11px!important;
font-weight:500;
line-height:1.25!important;
text-decoration:none!important;
transition:background .14s ease,border-color .14s ease,transform .14s ease;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a:hover{
background:#f6f9fb;
border-color:#cbd6df;
transform:translateY(-1px);
}

/* Počet titulů hned u nadpisu katalogu */
.vek-catalog-count{
display:inline-flex;
align-items:center;
margin:2px 0 13px;
padding:5px 9px;
border-radius:999px;
background:#f1f5f8;
color:#607181;
font-size:10.5px;
font-weight:600;
line-height:1;
}

.vek-catalog-count strong{
margin-right:4px;
color:#253746;
}

/* Autor o něco čitelnější */
body.vek-catalog-active .vek-book-card .vek-catalog-author{
color:#5d6872!important;
font-size:11.2px!important;
}

/* Titul – nepatrně větší hierarchie */
body.vek-catalog-active .vek-book-card .vek-catalog-title{
font-size:12px!important;
}

/* Cena a tlačítko opticky vyváženější */
body.vek-catalog-active .vek-book-card .price,
body.vek-catalog-active .vek-book-card .price-final,
body.vek-catalog-active .vek-book-card .p-final-price{
margin-bottom:8px!important;
}

body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card input[type="submit"]{
min-width:116px;
}

/* Po hoveru karty lehce zvýraznit název */
body.vek-catalog-active .vek-book-card:hover .vek-catalog-title{
color:#174f86!important;
}

/* Tablet */
@media(max-width:1199px){
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

/* Mobil */
@media(max-width:767px){
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:5px 7px;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a{
padding:7px!important;
font-size:10.5px!important;
}
}

@media(max-width:430px){
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
grid-template-columns:1fr;
}
}


/* ===== VEK Catalog v0.4.4 – COMPACT GENRE NAVIGATION ===== */

/* Přepis mřížky v0.4.3 na kompaktní pill navigaci */
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
display:flex!important;
flex-wrap:wrap;
align-items:center;
gap:7px 8px;
margin:10px 0 18px!important;
padding:0!important;
list-style:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid > li{
display:block!important;
width:auto!important;
margin:0!important;
padding:0!important;
list-style:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid > li::before{
display:none!important;
content:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a{
display:inline-flex!important;
align-items:center;
width:auto!important;
min-height:30px;
padding:6px 10px!important;
border:1px solid #dfe5ea!important;
border-radius:999px!important;
background:#fff!important;
color:#174f86!important;
font-size:11px!important;
font-weight:600!important;
line-height:1.15!important;
white-space:normal;
text-decoration:none!important;
box-shadow:none!important;
transform:none!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a:hover{
background:#f3f7fa!important;
border-color:#bccbd6!important;
color:#0d3e6b!important;
transform:none!important;
}

/* Počet knih jako klidný doplněk nad navigací */
body.type-category.vek-catalog-active .vek-catalog-count{
display:inline-flex!important;
align-items:center;
margin:0 0 8px!important;
padding:4px 8px!important;
border:0!important;
border-radius:999px;
background:#f3f6f8;
color:#6b7781;
font-size:10.5px;
font-weight:600;
line-height:1;
}

body.type-category.vek-catalog-active .vek-catalog-count strong{
color:#263746;
font-weight:700;
}

/* Horní blok trochu sevřít */
body.type-category.vek-catalog-active #content > h1,
body.type-category.vek-catalog-active .category-title{
margin-bottom:6px!important;
}

/* Řazení přitáhnout blíž k navigaci */
body.type-category.vek-catalog-active .filters-wrapper,
body.type-category.vek-catalog-active .category-header{
margin-top:4px!important;
}

/* Karty už jen lehce doladit */
body.vek-catalog-active .vek-book-card .vek-catalog-author{
margin-top:8px!important;
margin-bottom:4px!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
margin-bottom:10px!important;
}

/* Mobil */
@media(max-width:767px){
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
gap:6px;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a{
min-height:28px;
padding:6px 9px!important;
font-size:10.5px!important;
}
}


/* ===== VEK Catalog v0.4.5 – SORTING & CARD INTERACTION POLISH ===== */

/* Řazení jako kompaktní segmented control */
body.type-category.vek-catalog-active .vek-catalog-sortbar{
display:flex!important;
align-items:center;
flex-wrap:wrap;
gap:6px;
margin:8px 0 18px!important;
padding:0!important;
border:0!important;
}

body.type-category.vek-catalog-active .vek-catalog-sortbar a,
body.type-category.vek-catalog-active .vek-catalog-sortbar button{
display:inline-flex!important;
align-items:center;
justify-content:center;
min-height:34px;
padding:7px 13px!important;
border:1px solid #dfe4e8!important;
border-radius:6px!important;
background:#fff!important;
color:#44515c!important;
font-size:11px!important;
font-weight:600!important;
line-height:1!important;
text-decoration:none!important;
box-shadow:none!important;
transition:background .14s ease,border-color .14s ease,color .14s ease;
}

body.type-category.vek-catalog-active .vek-catalog-sortbar a:hover,
body.type-category.vek-catalog-active .vek-catalog-sortbar button:hover{
background:#f5f8fa!important;
border-color:#c8d2da!important;
color:#174f86!important;
}

/* Aktivní položka – podporujeme běžné Shoptet třídy i aria-current */
body.type-category.vek-catalog-active .vek-catalog-sortbar .active,
body.type-category.vek-catalog-active .vek-catalog-sortbar .selected,
body.type-category.vek-catalog-active .vek-catalog-sortbar [aria-current="page"],
body.type-category.vek-catalog-active .vek-catalog-sortbar [aria-selected="true"]{
background:#174f86!important;
border-color:#174f86!important;
color:#fff!important;
}

/* Původní dekorativní linky/tab rámečky ve wrapperu řazení */
body.type-category.vek-catalog-active .vek-catalog-sortbar::before,
body.type-category.vek-catalog-active .vek-catalog-sortbar::after{
display:none!important;
content:none!important;
}

/* Karta – jemně interaktivní, bez agresivního pohybu */
body.vek-catalog-active .vek-book-card{
transition:
border-color .16s ease,
box-shadow .16s ease,
transform .16s ease;
}

body.vek-catalog-active .vek-book-card:hover{
transform:translateY(-2px);
border-color:#c6d1d9!important;
box-shadow:0 10px 24px rgba(22,43,61,.08);
}

/* Obálka a titul mají při hoveru jasnější signál klikatelnosti */
body.vek-catalog-active .vek-book-card .image,
body.vek-catalog-active .vek-book-card .vek-catalog-title{
cursor:pointer;
}

body.vek-catalog-active .vek-book-card .image img{
transition:transform .18s ease;
}

body.vek-catalog-active .vek-book-card:hover .image img{
transform:scale(1.012);
}

/* Autor zůstává sekundární – nepřebíjí titul */
body.vek-catalog-active .vek-book-card .vek-catalog-author{
opacity:.86;
transition:opacity .14s ease,color .14s ease;
}

body.vek-catalog-active .vek-book-card:hover .vek-catalog-author{
opacity:1;
}

/* CTA lehce větší pro pohodlnější kliknutí */
body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card input[type="submit"]{
min-height:40px!important;
padding-left:18px!important;
padding-right:18px!important;
}

/* Mobil: řazení raději horizontálně rolovatelné než zalámané do vysokého bloku */
@media(max-width:767px){
body.type-category.vek-catalog-active .vek-catalog-sortbar{
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:4px!important;
scrollbar-width:thin;
}

body.type-category.vek-catalog-active .vek-catalog-sortbar a,
body.type-category.vek-catalog-active .vek-catalog-sortbar button{
flex:0 0 auto;
white-space:nowrap;
}

body.vek-catalog-active .vek-book-card:hover{
transform:none;
}
}


/* ===== VEK Catalog v0.4.6 – MOBILE CATALOG POLISH ===== */

/* Tablet: o něco kompaktnější horní navigace */
@media(max-width:991px){

body.type-category.vek-catalog-active .vek-catalog-genre-grid{
gap:6px!important;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a{
min-height:29px!important;
padding:6px 9px!important;
font-size:10.5px!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
font-size:11.5px!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-author{
font-size:10.5px!important;
}

}

/* Mobil */
@media(max-width:767px){

/* Nadpis + počet */
body.type-category.vek-catalog-active #content > h1{
margin-bottom:5px!important;
}

body.type-category.vek-catalog-active .vek-catalog-count{
margin-bottom:9px!important;
font-size:10px!important;
}

/* Žánry v jednom vodorovném pásu – nezaberou půl obrazovky */
body.type-category.vek-catalog-active .vek-catalog-genre-grid{
display:flex!important;
flex-wrap:nowrap!important;
overflow-x:auto!important;
overflow-y:hidden!important;
gap:6px!important;
margin:7px -4px 12px!important;
padding:0 4px 5px!important;
scroll-snap-type:x proximity;
scrollbar-width:thin;
-webkit-overflow-scrolling:touch;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid > li{
flex:0 0 auto!important;
scroll-snap-align:start;
}

body.type-category.vek-catalog-active .vek-catalog-genre-grid a{
min-height:30px!important;
padding:6px 10px!important;
white-space:nowrap!important;
font-size:10.5px!important;
}

/* Řazení také horizontálně, ale vizuálně oddělené */
body.type-category.vek-catalog-active .vek-catalog-sortbar{
display:flex!important;
flex-wrap:nowrap!important;
overflow-x:auto!important;
gap:6px!important;
margin:5px 0 13px!important;
padding:0 0 5px!important;
scrollbar-width:thin;
-webkit-overflow-scrolling:touch;
}

body.type-category.vek-catalog-active .vek-catalog-sortbar a,
body.type-category.vek-catalog-active .vek-catalog-sortbar button{
flex:0 0 auto!important;
min-height:32px!important;
padding:7px 11px!important;
font-size:10.5px!important;
white-space:nowrap!important;
}

/* Karta – menší vertikální plýtvání */
body.vek-catalog-active .vek-book-card{
border-radius:5px!important;
}

body.vek-catalog-active .vek-book-card .image{
padding-top:6px!important;
padding-bottom:4px!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-author{
margin:6px 6px 3px!important;
font-size:10.3px!important;
line-height:1.25!important;
-webkit-line-clamp:1!important;
min-height:1.25em!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
margin:0 6px 7px!important;
min-height:0!important;
font-size:11.2px!important;
line-height:1.28!important;
-webkit-line-clamp:3!important;
}

/* Cena */
body.vek-catalog-active .vek-book-card .price,
body.vek-catalog-active .vek-book-card .price-final,
body.vek-catalog-active .vek-book-card .p-final-price{
margin-top:5px!important;
margin-bottom:7px!important;
font-size:14px!important;
}

/* CTA přes většinu karty */
body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card input[type="submit"]{
width:calc(100% - 20px)!important;
min-width:0!important;
min-height:40px!important;
margin-left:10px!important;
margin-right:10px!important;
padding-left:10px!important;
padding-right:10px!important;
font-size:11px!important;
}

/* Hover efekty na touch zařízení vypnout */
body.vek-catalog-active .vek-book-card:hover{
transform:none!important;
box-shadow:none!important;
}

body.vek-catalog-active .vek-book-card:hover .image img{
transform:none!important;
}

}

/* Velmi úzký mobil */
@media(max-width:430px){

body.type-category.vek-catalog-active .vek-catalog-count{
padding:4px 7px!important;
}

/* Pokud Shoptet používá dvě karty vedle sebe, text musí zůstat úsporný */
body.vek-catalog-active .vek-book-card .vek-catalog-author{
font-size:9.8px!important;
}

body.vek-catalog-active .vek-book-card .vek-catalog-title{
font-size:10.8px!important;
-webkit-line-clamp:3!important;
}

body.vek-catalog-active .vek-book-card .price,
body.vek-catalog-active .vek-book-card .price-final,
body.vek-catalog-active .vek-book-card .p-final-price{
font-size:13.5px!important;
}

body.vek-catalog-active .vek-book-card .btn,
body.vek-catalog-active .vek-book-card button,
body.vek-catalog-active .vek-book-card input[type="submit"]{
min-height:38px!important;
font-size:10.5px!important;
}

}


/* ===== VEK Catalog v0.4.7 – HIDE BESTSELLER ===== */

.vek-catalog-bestseller-hidden{
display:none!important;
}

body.type-category.vek-catalog-active
.vek-catalog-sortbar
.vek-catalog-bestseller-hidden{
display:none!important;
}


/* ===== VEK Catalog v0.4.8 – MULTI AUTHOR LINKS ===== */

body.vek-catalog-active .vek-book-card .vek-catalog-authors{
display:flex!important;
align-items:center;
justify-content:center;
flex-wrap:wrap;
gap:0;
min-height:1.4em;
margin:8px 8px 4px!important;
color:#69747e;
font-size:11px!important;
font-weight:600;
line-height:1.3;
text-align:center;
}

body.vek-catalog-active .vek-book-card .vek-catalog-authors .vek-catalog-author{
display:inline!important;
min-height:0!important;
margin:0!important;
padding:0!important;
font-size:inherit!important;
line-height:inherit!important;
}

.vek-catalog-author-sep{
color:#9aa2a9;
}

@media(max-width:767px){
body.vek-catalog-active .vek-book-card .vek-catalog-authors{
margin:6px 5px 3px!important;
font-size:10.3px!important;
}
}


/* ===== VEK Catalog v0.4.9 – SEARCH UX & ACCESSIBILITY ===== */

.vek-search-tools{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:7px 9px;
margin:4px 0 16px;
padding:10px 12px;
border:1px solid #e1e6ea;
border-radius:7px;
background:#f8fafb;
}

.vek-search-query{
display:inline-flex;
align-items:center;
min-height:28px;
padding:5px 9px;
border-radius:999px;
background:#eaf1f6;
color:#174f86;
font-size:10.5px;
font-weight:700;
}

.vek-search-count{
color:#6e7982;
font-size:10.5px;
font-weight:600;
}

.vek-search-back{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:30px;
margin-left:auto;
padding:6px 10px;
border:1px solid #dbe2e7;
border-radius:5px;
background:#fff;
color:#174f86!important;
font-size:10px;
font-weight:700;
text-decoration:none!important;
}

.vek-search-back:hover{
border-color:#c5d1d9;
background:#f3f7f9;
}

body.vek-catalog-active a:focus-visible,
body.vek-catalog-active button:focus-visible,
body.vek-catalog-active input:focus-visible,
body.vek-catalog-active select:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-search-tools{
align-items:flex-start;
}

.vek-search-back{
width:100%;
margin-left:0;
box-sizing:border-box;
}
}

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


/* ===== VEK Catalog v0.5.0 – SMART CARDS ===== */

.vek-catalog-detail-link{
display:inline-flex!important;
align-items:center;
justify-content:center;
min-height:29px;
margin:6px auto 0!important;
padding:5px 8px!important;
border:0!important;
background:transparent!important;
color:#6f7982!important;
font-size:9.8px!important;
font-weight:700!important;
line-height:1!important;
text-decoration:none!important;
}

.vek-catalog-detail-link:hover{
color:#174f86!important;
text-decoration:underline!important;
text-underline-offset:2px;
}

.vek-catalog-detail-link::after{
content:"→";
margin-left:5px;
font-size:10px;
}

.vek-book-card[data-vek-card-ready="1"] .vek-catalog-title{
outline:none;
}

.vek-book-card[data-vek-card-ready="1"] .image a:focus-visible,
.vek-book-card[data-vek-card-ready="1"] .vek-catalog-title:focus-visible,
.vek-book-card[data-vek-card-ready="1"] .vek-catalog-author:focus-visible,
.vek-book-card[data-vek-card-ready="1"] .vek-catalog-detail-link:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-catalog-detail-link{
min-height:27px;
font-size:9.5px!important;
}
}


/* ===== VEK Catalog v0.5.1 – CATEGORY ORIENTATION ===== */

.vek-category-tools{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:7px 10px;
margin:4px 0 14px;
padding:9px 11px;
border:1px solid #e1e6ea;
border-radius:7px;
background:#f9fafb;
}

.vek-category-tools-label{
color:#7a858e;
font-size:9px;
font-weight:800;
letter-spacing:.06em;
text-transform:uppercase;
}

.vek-category-tools-current{
display:inline-flex;
align-items:center;
min-height:27px;
padding:5px 8px;
border-radius:999px;
background:#eaf1f6;
color:#174f86;
font-size:9.8px;
font-weight:750;
}

.vek-category-tools-count{
color:#68747d;
font-size:9.8px;
font-weight:600;
}

.vek-category-tools-all{
display:inline-flex;
align-items:center;
min-height:28px;
margin-left:auto;
padding:5px 9px;
border:1px solid #d8e0e5;
border-radius:5px;
background:#fff;
color:#174f86!important;
font-size:9.5px;
font-weight:700;
text-decoration:none!important;
}

.vek-category-tools-all:hover{
background:#f2f7fa;
border-color:#c5d1da;
}

@media(max-width:767px){
.vek-category-tools-all{
width:100%;
margin-left:0;
justify-content:center;
}
}


/* ===== VEK Catalog v0.5.2 – ACTIVE CATEGORY STATE ===== */

.vek-catalog-genre-grid a.vek-catalog-genre-active{
border-color:#174f86!important;
background:#174f86!important;
color:#fff!important;
font-weight:800!important;
}

.vek-catalog-genre-grid a.vek-catalog-genre-active:hover{
background:#113f6d!important;
border-color:#113f6d!important;
color:#fff!important;
}

.vek-category-tools-current[aria-current="page"]{
box-shadow:inset 0 0 0 1px rgba(23,79,134,.10);
}


/* ===== VEK Catalog v0.5.3 – IMAGE PERFORMANCE ===== */
.vek-book-card img{
content-visibility:auto;
}
@media(prefers-reduced-motion:reduce){
.vek-book-card{scroll-behavior:auto!important;}
}


/* ===== VEK Catalog v0.5.5 – SAVED BOOKS READY ===== */
.vek-book-card{
position:relative;
}


/* =========================================================
   Author 0.5.7
   source: VEK-v0.5.7-author.css
   ========================================================= */
/* VEK Author v0.5.7 - Context Guard & Home Author Browse */

.vek-author-link{
color:inherit!important;
text-decoration:none!important;
border-bottom:1px dotted rgba(23,79,134,.35);
}

.vek-author-link:hover{
color:#174f86!important;
border-bottom-color:#174f86;
}

.vek-author-related{
margin:26px 0 10px;
padding-top:22px;
border-top:1px solid #e2e6e9;
}

.vek-author-related-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:16px;
margin-bottom:14px;
}

.vek-author-related-heading{
margin:0!important;
font-size:20px!important;
line-height:1.2!important;
}

.vek-author-related-all{
flex:0 0 auto;
color:#174f86!important;
font-size:11px;
font-weight:600;
text-decoration:none!important;
}

.vek-author-related-all:hover{
text-decoration:underline!important;
text-underline-offset:2px;
}

.vek-author-related-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:14px;
}

.vek-author-related-card{
display:flex;
flex-direction:column;
min-width:0;
padding:12px;
border:1px solid #e0e5e9;
border-radius:7px;
background:#fff;
transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.vek-author-related-card:hover{
transform:translateY(-2px);
border-color:#c8d3db;
box-shadow:0 8px 22px rgba(22,43,61,.07);
}

.vek-author-related-image{
display:flex;
align-items:center;
justify-content:center;
height:180px;
margin-bottom:10px;
text-decoration:none!important;
}

.vek-author-related-image img{
display:block;
max-width:100%;
max-height:100%;
width:auto;
height:auto;
object-fit:contain;
}

.vek-author-related-title{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
overflow:hidden;
min-height:3.9em;
margin-bottom:9px;
color:#202830!important;
font-size:11.5px;
font-weight:700;
line-height:1.3;
text-align:center;
text-decoration:none!important;
}

.vek-author-related-title:hover{
color:#174f86!important;
}

.vek-author-related-price{
margin-top:auto;
margin-bottom:9px;
font-size:14px;
font-weight:700;
text-align:center;
}

.vek-author-related-detail{
display:flex;
align-items:center;
justify-content:center;
min-height:36px;
padding:7px 10px;
border:1px solid #174f86;
border-radius:4px;
color:#174f86!important;
font-size:10.5px;
font-weight:700;
text-align:center;
text-decoration:none!important;
}

.vek-author-related-detail:hover{
background:#174f86;
color:#fff!important;
}

.vek-author-related-status{
padding:10px 0;
color:#7a858e;
font-size:11px;
}

@media(max-width:991px){
.vek-author-related-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}

.vek-author-related-image{
height:160px;
}
}

@media(max-width:767px){
.vek-author-related{
margin-top:20px;
padding-top:18px;
}

.vek-author-related-head{
align-items:flex-start;
flex-direction:column;
gap:5px;
}

.vek-author-related-heading{
font-size:18px!important;
}

.vek-author-related-grid{
display:flex;
overflow-x:auto;
gap:10px;
padding-bottom:6px;
scroll-snap-type:x proximity;
-webkit-overflow-scrolling:touch;
}

.vek-author-related-card{
flex:0 0 155px;
scroll-snap-align:start;
padding:10px;
}

.vek-author-related-image{
height:145px;
}

.vek-author-related-title{
font-size:10.8px;
}
}


/* ===== VEK Author v0.5.1 – MULTI AUTHOR ===== */

.vek-author-related-all-group{
display:flex;
align-items:center;
justify-content:flex-end;
flex-wrap:wrap;
gap:4px 7px;
font-size:11px;
}

.vek-author-related-all-group .vek-author-related-all{
font-size:11px;
}

.vek-author-related-all-sep{
color:#a0a8af;
}

@media(max-width:767px){
.vek-author-related-all-group{
justify-content:flex-start;
}
}


/* ===== VEK Author v0.5.2 – AUTHOR HUB & RELATED POLISH ===== */

.vek-author-hub{
margin:18px 0 8px;
padding:14px 16px;
border:1px solid #e1e6ea;
border-radius:8px;
background:#f8fafb;
}
.vek-author-hub-title{
margin:0 0 10px;
color:#7a858e;
font-size:10px;
font-weight:800;
letter-spacing:.07em;
text-transform:uppercase;
}
.vek-author-hub-list{
display:flex;
align-items:stretch;
flex-wrap:wrap;
gap:8px;
}
.vek-author-hub-card{
display:flex;
align-items:center;
gap:9px;
min-height:46px;
padding:8px 11px;
border:1px solid #dfe5e9;
border-radius:7px;
background:#fff;
text-decoration:none!important;
transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease;
}
.vek-author-hub-card:hover{
transform:translateY(-1px);
border-color:#c6d2db;
box-shadow:0 4px 12px rgba(22,43,61,.06);
}
.vek-author-hub-avatar{
display:flex;
align-items:center;
justify-content:center;
flex:0 0 28px;
width:28px;
height:28px;
border-radius:50%;
background:#eaf1f6;
color:#174f86;
font-size:11px;
font-weight:800;
line-height:1;
}
.vek-author-hub-meta{display:block;min-width:0;}
.vek-author-hub-name{
display:block;
color:#174f86;
font-size:11.5px;
font-weight:700;
line-height:1.2;
}
.vek-author-hub-count{
display:block;
margin-top:2px;
color:#7b858e;
font-size:9.8px;
font-weight:500;
line-height:1.2;
}
.vek-author-related{margin-top:22px;}
.vek-author-related-head{align-items:center;}
.vek-author-related-heading{font-size:19px!important;}
.vek-author-related-subtitle{
margin-top:3px;
color:#7c8790;
font-size:10.5px;
line-height:1.35;
}
.vek-author-related-title{min-height:auto;}
.vek-author-filterbar{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
margin:0 0 12px;
}
.vek-author-filter{
display:inline-flex;
align-items:center;
min-height:30px;
padding:6px 10px;
border:1px solid #dfe5e9;
border-radius:999px;
background:#fff;
color:#53616d;
font-size:10.5px;
font-weight:600;
cursor:pointer;
}
.vek-author-filter:hover{border-color:#c7d2db;color:#174f86;}
.vek-author-filter.active{
border-color:#174f86;
background:#174f86;
color:#fff;
}
.vek-author-related-card[data-hidden="1"]{display:none!important;}

@media(max-width:767px){
.vek-author-hub{margin-top:14px;padding:12px;}
.vek-author-hub-list{display:grid;grid-template-columns:1fr;}
.vek-author-hub-card{width:100%;box-sizing:border-box;}
.vek-author-related-heading{font-size:17px!important;}
.vek-author-filterbar{
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:4px;
scrollbar-width:thin;
}
.vek-author-filter{flex:0 0 auto;white-space:nowrap;}
}


/* ===== VEK Author v0.5.3 – AUTHOR PROFILE PAGE ===== */
body.vek-author-profile-page .vek-author-profile-hero{
display:flex;
align-items:center;
gap:14px;
margin:2px 0 18px;
padding:14px 16px;
border:1px solid #e0e6ea;
border-radius:9px;
background:#f8fafb;
}
.vek-author-profile-avatar{
display:flex;
align-items:center;
justify-content:center;
flex:0 0 52px;
width:52px;
height:52px;
border-radius:50%;
background:#e8f0f6;
color:#174f86;
font-size:16px;
font-weight:800;
letter-spacing:.02em;
}
.vek-author-profile-content{min-width:0;}
.vek-author-profile-kicker{
margin-bottom:3px;
color:#7a858e;
font-size:9.5px;
font-weight:800;
letter-spacing:.075em;
text-transform:uppercase;
}
.vek-author-profile-name{
margin:0;
color:#202830;
font-size:18px;
font-weight:800;
line-height:1.15;
}
.vek-author-profile-meta{
margin-top:4px;
color:#6d7881;
font-size:10.5px;
line-height:1.35;
}
.vek-author-profile-actions{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:7px;
margin-top:8px;
}
.vek-author-profile-back{
display:inline-flex;
align-items:center;
min-height:29px;
padding:5px 9px;
border:1px solid #dce3e8;
border-radius:5px;
background:#fff;
color:#174f86!important;
font-size:10px;
font-weight:700;
text-decoration:none!important;
}
.vek-author-profile-back:hover{
border-color:#c5d1da;
background:#f4f8fa;
}
body.vek-author-profile-page .products-block,
body.vek-author-profile-page .products{margin-top:12px!important;}
@media(max-width:767px){
body.vek-author-profile-page .vek-author-profile-hero{
align-items:flex-start;
padding:12px;
}
.vek-author-profile-avatar{
flex-basis:42px;
width:42px;
height:42px;
font-size:13px;
}
.vek-author-profile-name{font-size:16px;}
}


/* ===== VEK Author v0.5.4 – EXPANDABLE RELATED BOOKS ===== */

.vek-author-related-card.vek-author-card-hidden{
display:none!important;
}

.vek-author-more-wrap{
display:flex;
align-items:center;
justify-content:center;
margin-top:14px;
}

.vek-author-more{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:38px;
padding:8px 15px;
border:1px solid #174f86;
border-radius:5px;
background:#fff;
color:#174f86;
font-size:10.5px;
font-weight:700;
line-height:1;
cursor:pointer;
transition:background .14s ease,color .14s ease,border-color .14s ease;
}

.vek-author-more:hover{
background:#174f86;
color:#fff;
}

.vek-author-more[hidden]{
display:none!important;
}

.vek-author-related-count{
margin-top:3px;
color:#7b858e;
font-size:9.8px;
font-weight:600;
line-height:1.25;
}

@media(max-width:767px){
.vek-author-more{
width:100%;
min-height:40px;
}
}


/* ===== VEK Author v0.5.5 – ROBUST AUTHOR DETECTION ===== */

.vek-author-related.vek-author-ready{
display:block;
}

.vek-author-diagnostic{
display:none!important;
}


/* ===== VEK Author v0.5.6 – BULLETPROOF RELATED BOOKS ===== */

.vek-author-related{
position:relative;
}

.vek-author-related-source{
display:inline-flex;
align-items:center;
gap:5px;
margin-top:4px;
color:#8a949c;
font-size:9px;
line-height:1.2;
}

.vek-author-related-source::before{
content:"";
width:5px;
height:5px;
border-radius:50%;
background:#9db0be;
}

.vek-author-retry-note{
display:none!important;
}


/* ===== VEK Author v0.5.7 – CONTEXT GUARD & HOME AUTHOR BROWSE ===== */

/* Na homepage se nikdy nesmí objevit detailové autorské bloky. */
body.type-index .vek-author-hub,
body.type-index .vek-author-related,
body.vek-home-author-context .vek-author-hub,
body.vek-home-author-context .vek-author-related{
display:none!important;
}

/* Volitelný, výchozím stavem sbalený přehled autorů na homepage. */
.vek-home-authors{
margin:14px 0 18px;
border:1px solid #e1e6ea;
border-radius:8px;
background:#fafbfc;
overflow:hidden;
}

.vek-home-authors-toggle{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
width:100%;
min-height:46px;
padding:10px 13px;
border:0;
background:transparent;
color:#24323d;
font:inherit;
text-align:left;
cursor:pointer;
}

.vek-home-authors-toggle:hover{
background:#f5f8fa;
}

.vek-home-authors-toggle-copy{
display:flex;
flex-direction:column;
gap:2px;
min-width:0;
}

.vek-home-authors-title{
font-size:12px;
font-weight:800;
line-height:1.2;
}

.vek-home-authors-subtitle{
color:#78838c;
font-size:9.5px;
font-weight:500;
line-height:1.3;
}

.vek-home-authors-chevron{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 24px;
width:24px;
height:24px;
border-radius:50%;
background:#edf2f5;
color:#174f86;
font-size:14px;
font-weight:800;
transition:transform .16s ease;
}

.vek-home-authors.is-open .vek-home-authors-chevron{
transform:rotate(180deg);
}

.vek-home-authors-panel{
display:none;
padding:0 13px 12px;
}

.vek-home-authors.is-open .vek-home-authors-panel{
display:block;
}

.vek-home-authors-list{
display:flex;
align-items:stretch;
flex-wrap:wrap;
gap:7px;
padding-top:2px;
}

.vek-home-author-link{
display:flex;
align-items:center;
gap:8px;
min-height:38px;
padding:6px 9px;
border:1px solid #dfe5e9;
border-radius:6px;
background:#fff;
color:#174f86!important;
text-decoration:none!important;
}

.vek-home-author-link:hover{
border-color:#c8d3db;
background:#f6f9fb;
}

.vek-home-author-avatar{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 27px;
width:27px;
height:27px;
border-radius:50%;
background:#eaf1f6;
color:#174f86;
font-size:9px;
font-weight:800;
}

.vek-home-author-meta{
display:flex;
flex-direction:column;
min-width:0;
}

.vek-home-author-name{
font-size:10px;
font-weight:750;
line-height:1.2;
}

.vek-home-author-note{
margin-top:1px;
color:#7b858d;
font-size:8.8px;
font-weight:500;
line-height:1.2;
}

.vek-home-authors-all{
display:inline-flex;
align-items:center;
margin-top:9px;
color:#174f86!important;
font-size:9.5px;
font-weight:700;
text-decoration:none!important;
}

.vek-home-authors-all::after{
content:"→";
margin-left:5px;
}

.vek-home-authors-all:hover{
text-decoration:underline!important;
text-underline-offset:2px;
}

.vek-home-authors-toggle:focus-visible,
.vek-home-author-link:focus-visible,
.vek-home-authors-all:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-home-authors{
margin:10px 0 14px;
}

.vek-home-authors-list{
display:grid;
grid-template-columns:1fr;
}

.vek-home-author-link{
width:100%;
box-sizing:border-box;
}
}

@media(prefers-reduced-motion:reduce){
.vek-home-authors-chevron{
transition:none!important;
}
}


/* =========================================================
   Recommendations 0.6.6
   source: VEK-v0.6.6-recommendations.css
   ========================================================= */
/* VEK Recommendations v0.6.6 - Extended History Capacity */
.vek-recent{
margin:24px 0 10px;
padding-top:20px;
border-top:1px solid #e2e6e9;
}
.vek-recent-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:14px;
margin-bottom:13px;
}
.vek-recent-heading{
margin:0!important;
font-size:18px!important;
line-height:1.2!important;
}
.vek-recent-subtitle{
margin-top:3px;
color:#7a858e;
font-size:10px;
line-height:1.35;
}
.vek-recent-clear{
border:0;
background:transparent;
color:#7a858e;
font-size:9.8px;
cursor:pointer;
text-decoration:underline;
text-underline-offset:2px;
}
.vek-recent-clear:hover{color:#174f86;}
.vek-recent-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
}
.vek-recent-card{
display:flex;
flex-direction:column;
min-width:0;
padding:11px;
border:1px solid #e0e5e9;
border-radius:7px;
background:#fff;
transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.vek-recent-card:hover{
transform:translateY(-2px);
border-color:#c8d3db;
box-shadow:0 8px 20px rgba(22,43,61,.065);
}
.vek-recent-image{
display:flex;
align-items:center;
justify-content:center;
height:150px;
margin-bottom:9px;
}
.vek-recent-image img{
display:block;
max-width:100%;
max-height:100%;
width:auto;
height:auto;
object-fit:contain;
}
.vek-recent-author{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:1;
overflow:hidden;
margin-bottom:3px;
color:#75808a;
font-size:9.5px;
font-weight:600;
text-align:center;
}
.vek-recent-title{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
overflow:hidden;
margin-bottom:8px;
color:#202830!important;
font-size:10.8px;
font-weight:700;
line-height:1.3;
text-align:center;
text-decoration:none!important;
}
.vek-recent-title:hover{color:#174f86!important;}
.vek-recent-price{
margin-top:auto;
color:#202830;
font-size:12.5px;
font-weight:800;
text-align:center;
}
@media(max-width:991px){
.vek-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:767px){
.vek-recent{margin-top:20px;padding-top:17px;}
.vek-recent-heading{font-size:16px!important;}
.vek-recent-grid{
display:flex;
overflow-x:auto;
gap:9px;
padding-bottom:6px;
scroll-snap-type:x proximity;
-webkit-overflow-scrolling:touch;
}
.vek-recent-card{
flex:0 0 145px;
scroll-snap-align:start;
padding:9px;
}
.vek-recent-image{height:130px;}
}


/* ===== VEK Recommendations v0.6.1 – CATEGORY DISCOVERY ===== */

.vek-discovery{
margin:24px 0 10px;
padding-top:20px;
border-top:1px solid #e2e6e9;
}

.vek-discovery-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:14px;
margin-bottom:13px;
}

.vek-discovery-heading{
margin:0!important;
font-size:18px!important;
line-height:1.2!important;
}

.vek-discovery-subtitle{
margin-top:3px;
color:#7a858e;
font-size:10px;
line-height:1.35;
}

.vek-discovery-all{
flex:0 0 auto;
color:#174f86!important;
font-size:10px;
font-weight:700;
text-decoration:none!important;
}

.vek-discovery-all:hover{
text-decoration:underline!important;
text-underline-offset:2px;
}

.vek-discovery-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
}

.vek-discovery-card{
display:flex;
flex-direction:column;
min-width:0;
padding:11px;
border:1px solid #e0e5e9;
border-radius:7px;
background:#fff;
transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}

.vek-discovery-card:hover{
transform:translateY(-2px);
border-color:#c8d3db;
box-shadow:0 8px 20px rgba(22,43,61,.065);
}

.vek-discovery-image{
display:flex;
align-items:center;
justify-content:center;
height:150px;
margin-bottom:9px;
}

.vek-discovery-image img{
display:block;
max-width:100%;
max-height:100%;
width:auto;
height:auto;
object-fit:contain;
}

.vek-discovery-author{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:1;
overflow:hidden;
margin-bottom:3px;
color:#75808a;
font-size:9.5px;
font-weight:600;
text-align:center;
}

.vek-discovery-title{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
overflow:hidden;
margin-bottom:8px;
color:#202830!important;
font-size:10.8px;
font-weight:700;
line-height:1.3;
text-align:center;
text-decoration:none!important;
}

.vek-discovery-title:hover{
color:#174f86!important;
}

.vek-discovery-price{
margin-top:auto;
color:#202830;
font-size:12.5px;
font-weight:800;
text-align:center;
}

@media(max-width:991px){
.vek-discovery-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

@media(max-width:767px){
.vek-discovery{
margin-top:20px;
padding-top:17px;
}

.vek-discovery-heading{
font-size:16px!important;
}

.vek-discovery-head{
align-items:flex-start;
flex-direction:column;
gap:5px;
}

.vek-discovery-grid{
display:flex;
overflow-x:auto;
gap:9px;
padding-bottom:6px;
scroll-snap-type:x proximity;
-webkit-overflow-scrolling:touch;
}

.vek-discovery-card{
flex:0 0 145px;
scroll-snap-align:start;
padding:9px;
}

.vek-discovery-image{
height:130px;
}
}


/* ===== VEK Recommendations v0.6.2 – EXPANDABLE DISCOVERY ===== */

.vek-discovery-card.vek-discovery-hidden{
display:none!important;
}

.vek-discovery-more-wrap{
display:flex;
justify-content:center;
margin-top:13px;
}

.vek-discovery-more{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:37px;
padding:8px 14px;
border:1px solid #174f86;
border-radius:5px;
background:#fff;
color:#174f86;
font-size:10.5px;
font-weight:700;
cursor:pointer;
}

.vek-discovery-more:hover{
background:#174f86;
color:#fff;
}

.vek-discovery-more[hidden]{
display:none!important;
}

@media(max-width:767px){
.vek-discovery-more{
width:100%;
min-height:40px;
}
}


/* ===== VEK Recommendations v0.6.3 – SECTION NAVIGATION ===== */

.vek-discovery-nav{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
margin:18px 0 4px;
padding:9px 10px;
border:1px solid #e4e8eb;
border-radius:7px;
background:#fafbfc;
}

.vek-discovery-nav-label{
margin-right:3px;
color:#7b858e;
font-size:9.5px;
font-weight:800;
letter-spacing:.055em;
text-transform:uppercase;
}

.vek-discovery-nav-link{
display:inline-flex;
align-items:center;
min-height:29px;
padding:6px 9px;
border:1px solid #dfe5e9;
border-radius:999px;
background:#fff;
color:#53616d!important;
font-size:10px;
font-weight:650;
line-height:1;
text-decoration:none!important;
}

.vek-discovery-nav-link:hover{
border-color:#c7d2db;
color:#174f86!important;
}

.vek-discovery-nav-link:focus-visible,
.vek-discovery-more:focus-visible,
.vek-recent-clear:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-discovery-nav{
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:7px;
scrollbar-width:thin;
-webkit-overflow-scrolling:touch;
}

.vek-discovery-nav-label,
.vek-discovery-nav-link{
flex:0 0 auto;
white-space:nowrap;
}
}

@media(prefers-reduced-motion:reduce){
.vek-discovery *,
.vek-recent *,
.vek-discovery-nav *{
scroll-behavior:auto!important;
transition-duration:.01ms!important;
animation-duration:.01ms!important;
}
}


/* ===== VEK Recommendations v0.6.4 – SECTION COUNTS & UTILITY ===== */

.vek-discovery-nav-count{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:17px;
height:17px;
margin-left:5px;
padding:0 5px;
border-radius:999px;
background:#eef2f5;
color:#6c7780;
font-size:8.5px;
font-weight:800;
line-height:1;
}

.vek-discovery-nav-link:hover .vek-discovery-nav-count{
background:#e5edf3;
color:#174f86;
}

.vek-recommendation-empty{
display:none!important;
}


/* ===== VEK Recommendations v0.6.5 – LAZY DISCOVERY ===== */
.vek-recommendations-sentinel{
display:block;
width:100%;
height:1px;
margin:0;
padding:0;
pointer-events:none;
}
.vek-recommendations-loading{
display:flex;
align-items:center;
gap:8px;
min-height:36px;
margin:18px 0 2px;
padding:7px 10px;
border:1px solid #e6eaed;
border-radius:6px;
background:#fafbfc;
color:#7a858e;
font-size:9.5px;
line-height:1.25;
}
.vek-recommendations-loading::before{
content:"";
display:inline-block;
width:12px;
height:12px;
border:2px solid #d8e1e7;
border-top-color:#174f86;
border-radius:50%;
animation:vekRecommendationsSpin .75s linear infinite;
}
@keyframes vekRecommendationsSpin{
to{transform:rotate(360deg);}
}
@media(prefers-reduced-motion:reduce){
.vek-recommendations-loading::before{
animation:none;
border-color:#174f86;
}
}


/* =========================================================
   Homepage 0.9.3
   source: VEK-v0.9.3-homepage.css
   ========================================================= */
/* VEK Homepage v0.9.3 - Saved Books Ready */

.vek-home-discovery{
margin:16px 0 22px;
padding:14px;
border:1px solid #e0e6ea;
border-radius:10px;
background:#f8fafb;
}

.vek-home-discovery-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
margin-bottom:12px;
}

.vek-home-discovery-copy{
min-width:0;
}

.vek-home-discovery-kicker{
margin-bottom:3px;
color:#7a858e;
font-size:9.5px;
font-weight:800;
letter-spacing:.07em;
text-transform:uppercase;
}

.vek-home-discovery-title{
margin:0!important;
color:#202830;
font-size:18px!important;
font-weight:800!important;
line-height:1.2!important;
}

.vek-home-discovery-subtitle{
margin-top:4px;
max-width:720px;
color:#6f7a83;
font-size:10.5px;
line-height:1.4;
}

.vek-home-discovery-actions{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:7px;
}

.vek-home-discovery-primary,
.vek-home-discovery-secondary{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
padding:7px 11px;
border-radius:5px;
font-size:10px;
font-weight:750;
line-height:1;
text-decoration:none!important;
}

.vek-home-discovery-primary{
border:1px solid #174f86;
background:#174f86;
color:#fff!important;
}

.vek-home-discovery-primary:hover{
background:#113f6d;
border-color:#113f6d;
}

.vek-home-discovery-secondary{
border:1px solid #d7dfe5;
background:#fff;
color:#174f86!important;
}

.vek-home-discovery-secondary:hover{
background:#f1f6f9;
border-color:#c5d1da;
}

.vek-home-genres{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
padding-top:11px;
border-top:1px solid #e5eaee;
}

.vek-home-genres-label{
margin-right:2px;
color:#7b858e;
font-size:9px;
font-weight:800;
letter-spacing:.06em;
text-transform:uppercase;
}

.vek-home-genre{
display:inline-flex;
align-items:center;
min-height:27px;
padding:5px 8px;
border:1px solid #dce3e8;
border-radius:999px;
background:#fff;
color:#53616d!important;
font-size:9.5px;
font-weight:650;
text-decoration:none!important;
}

.vek-home-genre:hover{
border-color:#c5d1da;
color:#174f86!important;
background:#f5f8fa;
}

.vek-home-genres-more{
border:0;
background:transparent;
color:#174f86;
font-size:9.5px;
font-weight:750;
cursor:pointer;
text-decoration:underline;
text-underline-offset:2px;
}

.vek-home-genre.vek-home-genre-extra{
display:none;
}

.vek-home-genres.is-open .vek-home-genre-extra{
display:inline-flex;
}

.vek-home-discovery a:focus-visible,
.vek-home-discovery button:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-home-discovery{
margin:10px 0 16px;
padding:12px;
}

.vek-home-discovery-head{
flex-direction:column;
gap:10px;
}

.vek-home-discovery-title{
font-size:16px!important;
}

.vek-home-discovery-actions{
width:100%;
}

.vek-home-discovery-primary,
.vek-home-discovery-secondary{
flex:1 1 auto;
}

.vek-home-genres{
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:4px;
-webkit-overflow-scrolling:touch;
}

.vek-home-genres-label,
.vek-home-genre,
.vek-home-genres-more{
flex:0 0 auto;
white-space:nowrap;
}

.vek-home-genre.vek-home-genre-extra{
display:none;
}

.vek-home-genres.is-open .vek-home-genre-extra{
display:inline-flex;
}
}

@media(prefers-reduced-motion:reduce){
.vek-home-discovery *{
transition:none!important;
animation:none!important;
}
}


/* ===== VEK Homepage v0.9.1 – RECENTLY VIEWED ===== */

.vek-home-recent{
margin:16px 0 20px;
padding:13px 14px 14px;
border:1px solid #e1e6ea;
border-radius:9px;
background:#fff;
}

.vek-home-recent-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:12px;
margin-bottom:11px;
}

.vek-home-recent-title{
margin:0!important;
color:#202830;
font-size:15px!important;
font-weight:800!important;
line-height:1.2!important;
}

.vek-home-recent-subtitle{
margin-top:2px;
color:#78838c;
font-size:9.5px;
line-height:1.3;
}

.vek-home-recent-clear{
border:0;
background:transparent;
color:#78838c;
font-size:9px;
font-weight:650;
cursor:pointer;
text-decoration:underline;
text-underline-offset:2px;
}

.vek-home-recent-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:10px;
}

.vek-home-recent-card{
display:flex;
align-items:center;
gap:9px;
min-width:0;
padding:8px;
border:1px solid #e4e8eb;
border-radius:6px;
background:#fafbfc;
text-decoration:none!important;
}

.vek-home-recent-card:hover{
border-color:#cbd5dc;
background:#f6f9fb;
}

.vek-home-recent-image{
display:flex;
align-items:center;
justify-content:center;
flex:0 0 48px;
width:48px;
height:66px;
}

.vek-home-recent-image img{
display:block;
max-width:100%;
max-height:100%;
object-fit:contain;
}

.vek-home-recent-copy{
display:flex;
flex-direction:column;
min-width:0;
}

.vek-home-recent-author{
overflow:hidden;
color:#7a858e;
font-size:8.8px;
font-weight:600;
text-overflow:ellipsis;
white-space:nowrap;
}

.vek-home-recent-name{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
overflow:hidden;
margin-top:2px;
color:#26323c;
font-size:9.8px;
font-weight:750;
line-height:1.25;
}

.vek-home-recent-price{
margin-top:5px;
color:#202830;
font-size:10.5px;
font-weight:800;
}

.vek-home-recent-card:focus-visible,
.vek-home-recent-clear:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:991px){
.vek-home-recent-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media(max-width:767px){
.vek-home-recent{
padding:12px;
}

.vek-home-recent-grid{
display:flex;
overflow-x:auto;
gap:8px;
padding-bottom:4px;
-webkit-overflow-scrolling:touch;
scroll-snap-type:x proximity;
}

.vek-home-recent-card{
flex:0 0 210px;
scroll-snap-align:start;
}
}


/* ===== VEK Homepage v0.9.2 – LIGHTWEIGHT RECENT ===== */
.vek-home-recent-card img{
content-visibility:auto;
}
@media(max-width:767px){
.vek-home-recent-card:nth-child(n+4){display:none;}
}


/* ===== VEK Homepage v0.9.3 – SAVED BOOKS READY ===== */
.vek-home-recent + .vek-saved-home,
.vek-home-discovery + .vek-saved-home{
margin-top:-4px;
}


/* =========================================================
   Utility 0.10.1
   source: VEK-v0.10.1-utility.css
   ========================================================= */
/* VEK Utility v0.10.1 - Navigation Stability */

.vek-skip-link{
position:fixed;
left:12px;
top:8px;
z-index:100000;
transform:translateY(-150%);
padding:8px 12px;
border-radius:5px;
background:#174f86;
color:#fff!important;
font-size:11px;
font-weight:750;
text-decoration:none!important;
box-shadow:0 4px 16px rgba(0,0,0,.15);
}

.vek-skip-link:focus{
transform:translateY(0);
}

.vek-back-top{
position:fixed;
right:16px;
bottom:18px;
z-index:9900;
display:inline-flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border:1px solid #d8e0e5;
border-radius:50%;
background:rgba(255,255,255,.96);
box-shadow:0 5px 18px rgba(25,43,58,.12);
color:#174f86;
font-size:18px;
font-weight:800;
line-height:1;
cursor:pointer;
opacity:0;
transform:translateY(12px);
pointer-events:none;
transition:opacity .16s ease,transform .16s ease,background .16s ease;
backdrop-filter:blur(6px);
-webkit-backdrop-filter:blur(6px);
}

.vek-back-top.is-visible{
opacity:1;
transform:translateY(0);
pointer-events:auto;
}

.vek-back-top:hover{
background:#f4f8fa;
}

.vek-back-top:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

body.vek-mobile-buybar-visible .vek-back-top{
bottom:82px;
}

@media(max-width:767px){
.vek-back-top{
right:12px;
bottom:14px;
width:40px;
height:40px;
}
}

@media(prefers-reduced-motion:reduce){
.vek-skip-link,
.vek-back-top{
transition:none!important;
}
}


/* =========================================================
   Search 0.12.0
   source: VEK-v0.12.0-search.css
   ========================================================= */
/* VEK Search v0.12.0 - Quick Search & Recovery */

.vek-quick-search{
display:flex;
align-items:center;
gap:7px;
margin-top:11px;
padding-top:11px;
border-top:1px solid #e5eaee;
}

.vek-quick-search-field{
position:relative;
display:flex;
align-items:center;
flex:1 1 360px;
min-width:180px;
}

.vek-quick-search-input{
width:100%;
min-height:36px;
padding:7px 38px 7px 11px!important;
border:1px solid #d7e0e6!important;
border-radius:5px!important;
background:#fff!important;
box-shadow:none!important;
color:#26323c!important;
font-size:10.5px!important;
line-height:1.2!important;
}

.vek-quick-search-input::placeholder{
color:#919aa1;
}

.vek-quick-search-clear{
position:absolute;
right:7px;
top:50%;
display:none;
align-items:center;
justify-content:center;
width:25px;
height:25px;
padding:0;
border:0;
border-radius:50%;
background:transparent;
color:#7c8790;
font-size:16px;
line-height:1;
cursor:pointer;
transform:translateY(-50%);
}

.vek-quick-search-field.has-value .vek-quick-search-clear{
display:inline-flex;
}

.vek-quick-search-clear:hover{
background:#f0f4f6;
color:#174f86;
}

.vek-quick-search-submit{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
min-height:36px;
padding:7px 12px;
border:1px solid #174f86;
border-radius:5px;
background:#174f86;
color:#fff;
font-size:10px;
font-weight:800;
line-height:1;
cursor:pointer;
}

.vek-quick-search-submit:hover{
background:#113f6d;
border-color:#113f6d;
}

.vek-recent-searches{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:5px 6px;
margin-top:8px;
}

.vek-recent-searches-label{
margin-right:2px;
color:#7b858e;
font-size:8.8px;
font-weight:800;
letter-spacing:.055em;
text-transform:uppercase;
}

.vek-recent-search{
display:inline-flex;
align-items:center;
min-height:25px;
padding:4px 8px;
border:1px solid #dfe5e9;
border-radius:999px;
background:#fff;
color:#5a6670!important;
font-size:9px;
font-weight:650;
text-decoration:none!important;
}

.vek-recent-search:hover{
border-color:#c8d3db;
color:#174f86!important;
background:#f6f9fb;
}

.vek-search-empty{
margin:12px 0 18px;
padding:15px;
border:1px solid #e0e6ea;
border-radius:8px;
background:#fafbfc;
text-align:center;
}

.vek-search-empty-title{
margin:0!important;
color:#26323c;
font-size:15px!important;
font-weight:800!important;
line-height:1.2!important;
}

.vek-search-empty-text{
max-width:560px;
margin:6px auto 0;
color:#6f7a83;
font-size:10px;
line-height:1.45;
}

.vek-search-empty-actions{
display:flex;
align-items:center;
justify-content:center;
flex-wrap:wrap;
gap:7px;
margin-top:11px;
}

.vek-search-empty-action{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:32px;
padding:6px 10px;
border:1px solid #d8e0e5;
border-radius:5px;
background:#fff;
color:#174f86!important;
font-size:9.8px;
font-weight:750;
text-decoration:none!important;
}

.vek-search-empty-action.primary{
border-color:#174f86;
background:#174f86;
color:#fff!important;
}

.vek-search-empty-action:hover{
background:#f3f7f9;
}

.vek-search-empty-action.primary:hover{
background:#113f6d;
border-color:#113f6d;
}

.vek-quick-search-input:focus-visible,
.vek-quick-search-clear:focus-visible,
.vek-quick-search-submit:focus-visible,
.vek-recent-search:focus-visible,
.vek-search-empty-action:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-quick-search{
align-items:stretch;
}

.vek-quick-search-field{
flex-basis:auto;
min-width:0;
}

.vek-quick-search-submit{
min-width:76px;
}

.vek-recent-searches{
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:4px;
-webkit-overflow-scrolling:touch;
}

.vek-recent-searches-label,
.vek-recent-search{
flex:0 0 auto;
white-space:nowrap;
}
}


/* =========================================================
   Saved Books 0.13.1
   source: VEK-v0.13.1-saved.css
   ========================================================= */
/* VEK Saved Books v0.13.1 - Stable Observer Hotfix */

.vek-save-book{
display:inline-flex;
align-items:center;
gap:6px;
min-height:28px;
padding:4px 0!important;
border:0!important;
background:transparent!important;
box-shadow:none!important;
color:#6e7881!important;
font-size:10.5px!important;
font-weight:650!important;
line-height:1.2;
cursor:pointer;
}

.vek-save-book:hover{
color:#174f86!important;
}

.vek-save-book-icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:16px;
height:16px;
font-size:15px;
line-height:1;
}

.vek-save-book.is-saved{
color:#174f86!important;
}

.vek-save-book.is-saved .vek-save-book-icon{
font-weight:800;
}

.vek-card-save{
position:absolute;
top:8px;
right:8px;
z-index:6;
display:inline-flex;
align-items:center;
justify-content:center;
width:31px;
height:31px;
padding:0;
border:1px solid #dce3e8;
border-radius:50%;
background:rgba(255,255,255,.95);
box-shadow:0 3px 10px rgba(20,40,55,.08);
color:#6f7a83;
font-size:16px;
line-height:1;
cursor:pointer;
backdrop-filter:blur(4px);
-webkit-backdrop-filter:blur(4px);
}

.vek-card-save:hover{
border-color:#c6d2da;
background:#fff;
color:#174f86;
}

.vek-card-save.is-saved{
border-color:#bfcfda;
background:#edf4f8;
color:#174f86;
}

.vek-book-card{
position:relative;
}

.vek-saved-home{
margin:16px 0 20px;
border:1px solid #e1e6ea;
border-radius:9px;
background:#fff;
overflow:hidden;
}

.vek-saved-home-toggle{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
width:100%;
min-height:48px;
padding:10px 13px;
border:0;
background:#fafbfc;
color:#24323d;
font:inherit;
text-align:left;
cursor:pointer;
}

.vek-saved-home-toggle:hover{
background:#f5f8fa;
}

.vek-saved-home-toggle-copy{
display:flex;
flex-direction:column;
gap:2px;
min-width:0;
}

.vek-saved-home-title{
font-size:12px;
font-weight:800;
line-height:1.2;
}

.vek-saved-home-subtitle{
color:#78838c;
font-size:9.5px;
font-weight:500;
line-height:1.3;
}

.vek-saved-home-count{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:24px;
height:24px;
padding:0 7px;
border-radius:999px;
background:#eaf1f6;
color:#174f86;
font-size:9.5px;
font-weight:800;
}

.vek-saved-home-panel{
display:none;
padding:12px 13px 13px;
}

.vek-saved-home.is-open .vek-saved-home-panel{
display:block;
}

.vek-saved-home-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:10px;
}

.vek-saved-home-card{
position:relative;
display:flex;
align-items:center;
gap:9px;
min-width:0;
padding:8px;
border:1px solid #e4e8eb;
border-radius:6px;
background:#fafbfc;
}

.vek-saved-home-link{
display:flex;
align-items:center;
gap:9px;
min-width:0;
flex:1 1 auto;
text-decoration:none!important;
}

.vek-saved-home-image{
display:flex;
align-items:center;
justify-content:center;
flex:0 0 44px;
width:44px;
height:62px;
}

.vek-saved-home-image img{
display:block;
max-width:100%;
max-height:100%;
object-fit:contain;
}

.vek-saved-home-copy{
display:flex;
flex-direction:column;
min-width:0;
}

.vek-saved-home-author{
overflow:hidden;
color:#7a858e;
font-size:8.5px;
font-weight:600;
text-overflow:ellipsis;
white-space:nowrap;
}

.vek-saved-home-name{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
overflow:hidden;
margin-top:2px;
color:#26323c;
font-size:9.6px;
font-weight:750;
line-height:1.25;
}

.vek-saved-home-price{
margin-top:4px;
color:#202830;
font-size:10px;
font-weight:800;
}

.vek-saved-home-remove{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 24px;
width:24px;
height:24px;
padding:0;
border:0;
border-radius:50%;
background:transparent;
color:#8a949c;
font-size:15px;
cursor:pointer;
}

.vek-saved-home-remove:hover{
background:#eef2f5;
color:#174f86;
}

.vek-saved-home-empty{
padding:4px 0;
color:#7a858e;
font-size:9.8px;
line-height:1.4;
}

.vek-toast{
position:fixed;
left:50%;
bottom:22px;
z-index:10050;
display:flex;
align-items:center;
gap:7px;
max-width:min(420px,calc(100vw - 30px));
padding:9px 12px;
border-radius:6px;
background:#26323c;
box-shadow:0 7px 22px rgba(0,0,0,.18);
color:#fff;
font-size:10px;
font-weight:650;
line-height:1.3;
transform:translate(-50%,18px);
opacity:0;
pointer-events:none;
transition:opacity .16s ease,transform .16s ease;
}

.vek-toast.is-visible{
opacity:1;
transform:translate(-50%,0);
}

.vek-toast-icon{
font-size:12px;
}

.vek-save-book:focus-visible,
.vek-card-save:focus-visible,
.vek-saved-home-toggle:focus-visible,
.vek-saved-home-link:focus-visible,
.vek-saved-home-remove:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:991px){
.vek-saved-home-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media(max-width:767px){
.vek-card-save{
top:6px;
right:6px;
width:29px;
height:29px;
}

.vek-saved-home-grid{
display:flex;
overflow-x:auto;
gap:8px;
padding-bottom:4px;
-webkit-overflow-scrolling:touch;
scroll-snap-type:x proximity;
}

.vek-saved-home-card{
flex:0 0 220px;
scroll-snap-align:start;
}
}

@media(prefers-reduced-motion:reduce){
.vek-toast{
transition:none!important;
}
}

/* v0.13.1: stable observer hotfix */


/* =========================================================
   Safe Polish 0.14.0
   source: VEK-v0.14.0-safe-polish.css
   ========================================================= */
/* VEK Safe Polish v0.14.0 - Print, Focus & Defensive UX */

/* ---------------------------------------------------------
   Anchor / section navigation
   --------------------------------------------------------- */
.vek-author-related,
.vek-discovery,
.vek-recent,
.vek-home-authors,
.vek-saved-home,
.vek-home-recent,
.vek-home-discovery,
#vek-related-author,
#vek-discovery,
#vek-recent{
scroll-margin-top:86px;
}

/* ---------------------------------------------------------
   Keyboard focus – only :focus-visible, no mouse outline
   --------------------------------------------------------- */
.vek-book-detail-tool:focus-visible,
.vek-book-preview:focus-visible,
.vek-catalog-detail-link:focus-visible,
.vek-author-filter:focus-visible,
.vek-author-more:focus-visible,
.vek-discovery-more:focus-visible,
.vek-discovery-nav-link:focus-visible,
.vek-home-genre:focus-visible,
.vek-home-discovery-primary:focus-visible,
.vek-home-discovery-secondary:focus-visible,
.vek-quick-search-submit:focus-visible,
.vek-search-empty-action:focus-visible,
.vek-save-book:focus-visible,
.vek-card-save:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

/* ---------------------------------------------------------
   Small tap-target protection on touch devices
   --------------------------------------------------------- */
@media (pointer:coarse){
.vek-book-detail-tool,
.vek-author-filter,
.vek-author-more,
.vek-discovery-more,
.vek-discovery-nav-link,
.vek-home-genre,
.vek-recent-search,
.vek-search-empty-action{
min-height:36px;
}
}

/* ---------------------------------------------------------
   Better long-word behaviour
   --------------------------------------------------------- */
.vek-book-detail-value,
.vek-book-title,
.vek-catalog-title,
.vek-author-related-title,
.vek-discovery-title,
.vek-recent-title,
.vek-home-recent-name,
.vek-saved-home-name{
overflow-wrap:anywhere;
word-break:normal;
}

/* ---------------------------------------------------------
   Print mode – product detail
   --------------------------------------------------------- */
@media print{
@page{
margin:16mm;
}

html,
body{
background:#fff!important;
}

body{
font-size:10.5pt!important;
line-height:1.45!important;
color:#000!important;
}

header,
#header,
.navigation-wrapper,
.top-navigation-bar,
.breadcrumbs,
.sidebar,
#sidebar,
.category-menu,
#footer,
footer,
.vek-mobile-buybar,
.vek-back-top,
.vek-skip-link,
.vek-toast,
.vek-card-save,
.vek-save-book,
.vek-book-detail-tools,
.vek-book-buy-zone,
.vek-book-cover-previews,
.vek-book-previews,
.vek-author-related,
.vek-discovery,
.vek-recent,
.vek-discovery-nav,
.vek-home-authors,
.vek-home-discovery,
.vek-home-recent,
.vek-saved-home,
.social-buttons-wrapper,
.p-socials,
.share-buttons,
.link-icons,
.admin-bar,
#admin-bar{
display:none!important;
}

#content,
.content-wrapper,
.container,
.container-wrapper,
.p-detail,
.p-detail-inner{
width:100%!important;
max-width:none!important;
margin:0!important;
padding:0!important;
box-shadow:none!important;
border:0!important;
}

body.vek-ebook-product .p-detail,
body.vek-ebook-product .p-detail-inner{
display:block!important;
}

.p-image-wrapper,
.p-image,
.vek-book-cover{
float:left!important;
width:34%!important;
max-width:62mm!important;
margin:0 10mm 7mm 0!important;
}

.p-image img,
.p-image-wrapper img,
.vek-book-cover img{
max-width:100%!important;
max-height:95mm!important;
object-fit:contain!important;
}

.vek-book-info,
.p-info-wrapper,
.p-detail-info{
display:block!important;
overflow:visible!important;
}

h1{
font-size:20pt!important;
line-height:1.15!important;
color:#000!important;
}

h2{
font-size:14pt!important;
color:#000!important;
page-break-after:avoid;
}

a,
a:visited{
color:#000!important;
text-decoration:none!important;
}

.vek-book-format,
.vek-book-meta-chip{
border:1px solid #777!important;
background:#fff!important;
color:#000!important;
}

.vek-book-details,
.vek-book-details-native-panel{
display:block!important;
break-inside:avoid;
}

.vek-book-details[open] summary{
display:block!important;
}

.vek-book-details summary{
display:block!important;
font-weight:700!important;
}

.vek-book-details-grid{
display:grid!important;
grid-template-columns:minmax(32mm,42mm) 1fr!important;
gap:2mm 5mm!important;
}

.vek-book-detail-label,
.vek-book-detail-value{
color:#000!important;
}

.tab-content,
.p-description,
.detail-parameters,
.vek-book-details-native-panel{
clear:both!important;
margin-top:8mm!important;
}

*{
box-shadow:none!important;
text-shadow:none!important;
}

img{
print-color-adjust:exact;
-webkit-print-color-adjust:exact;
}
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
html{
scroll-behavior:auto!important;
}
}


/* =========================================================
   Catalog Discovery 0.16.0
   source: VEK-v0.16.0-catalog-discovery.css
   ========================================================= */
/* VEK Catalog Discovery v0.16.0 - Safe Client-side Controls */

.vek-catalog-discovery{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:8px 10px;
margin:10px 0 16px;
padding:10px 11px;
border:1px solid #e1e6ea;
border-radius:8px;
background:#fafbfc;
}

.vek-catalog-filter{
position:relative;
display:flex;
align-items:center;
flex:1 1 320px;
min-width:220px;
}

.vek-catalog-filter-input{
width:100%;
min-height:35px;
padding:7px 36px 7px 10px!important;
border:1px solid #d9e1e6!important;
border-radius:5px!important;
background:#fff!important;
box-shadow:none!important;
color:#26323c!important;
font-size:10.5px!important;
line-height:1.2!important;
}

.vek-catalog-filter-input::placeholder{
color:#909aa2;
}

.vek-catalog-filter-clear{
position:absolute;
right:6px;
top:50%;
display:none;
align-items:center;
justify-content:center;
width:25px;
height:25px;
padding:0;
border:0;
border-radius:50%;
background:transparent;
color:#7a858e;
font-size:16px;
line-height:1;
cursor:pointer;
transform:translateY(-50%);
}

.vek-catalog-filter.has-value .vek-catalog-filter-clear{
display:inline-flex;
}

.vek-catalog-filter-clear:hover{
background:#eef2f5;
color:#174f86;
}

.vek-catalog-view{
display:flex;
align-items:center;
gap:4px;
}

.vek-catalog-view-label{
margin-right:2px;
color:#7b858e;
font-size:8.8px;
font-weight:800;
letter-spacing:.055em;
text-transform:uppercase;
}

.vek-catalog-view-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:30px;
padding:5px 8px;
border:1px solid #dce3e8;
border-radius:5px;
background:#fff;
color:#66727c;
font-size:9.5px;
font-weight:700;
line-height:1;
cursor:pointer;
}

.vek-catalog-view-btn:hover{
border-color:#c9d4dc;
color:#174f86;
}

.vek-catalog-view-btn.is-active{
border-color:#174f86;
background:#174f86;
color:#fff;
}

.vek-catalog-visible-count{
display:inline-flex;
align-items:center;
min-height:29px;
padding:5px 8px;
border-radius:999px;
background:#edf2f5;
color:#5e6972;
font-size:9.3px;
font-weight:750;
white-space:nowrap;
}

.vek-catalog-filter-empty{
display:none;
margin:12px 0 18px;
padding:14px;
border:1px solid #e1e6ea;
border-radius:7px;
background:#fafbfc;
color:#66727c;
font-size:10px;
line-height:1.4;
text-align:center;
}

.vek-catalog-filter-empty.is-visible{
display:block;
}

.vek-book-card.vek-catalog-filter-hidden{
display:none!important;
}

/* Compact mode only changes presentation, never DOM or product logic. */
body.vek-catalog-view-compact .vek-book-card{
min-height:0!important;
padding-top:8px!important;
padding-bottom:8px!important;
}

body.vek-catalog-view-compact .vek-book-card .image,
body.vek-catalog-view-compact .vek-book-card .p-image,
body.vek-catalog-view-compact .vek-book-card .p-image-wrapper{
height:145px!important;
min-height:145px!important;
}

body.vek-catalog-view-compact .vek-book-card img{
max-height:140px!important;
}

body.vek-catalog-view-compact .vek-catalog-author{
font-size:8.8px!important;
}

body.vek-catalog-view-compact .vek-catalog-title{
font-size:10px!important;
line-height:1.25!important;
}

body.vek-catalog-view-compact .vek-catalog-detail-link{
margin-top:3px!important;
}

.vek-catalog-filter-input:focus-visible,
.vek-catalog-filter-clear:focus-visible,
.vek-catalog-view-btn:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-catalog-discovery{
align-items:stretch;
gap:7px;
}

.vek-catalog-filter{
flex-basis:100%;
min-width:0;
}

.vek-catalog-view{
flex:1 1 auto;
}

.vek-catalog-visible-count{
margin-left:auto;
}

body.vek-catalog-view-compact .vek-book-card .image,
body.vek-catalog-view-compact .vek-book-card .p-image,
body.vek-catalog-view-compact .vek-book-card .p-image-wrapper{
height:130px!important;
min-height:130px!important;
}
}

@media(prefers-reduced-motion:reduce){
.vek-catalog-discovery *{
transition:none!important;
}
}


/* =========================================================
   Resilience 0.17.0
   source: VEK-v0.17.0-resilience.css
   ========================================================= */
/* VEK Resilience v0.17.0 - Cover Fallback & Pagination Polish */

/* ---------------------------------------------------------
   Broken / missing cover fallback
   --------------------------------------------------------- */
.vek-cover-fallback{
position:relative!important;
display:flex!important;
align-items:center!important;
justify-content:center!important;
min-height:180px;
background:
linear-gradient(135deg,#f4f7f9 0%,#eef2f5 100%)!important;
border:1px solid #e0e6ea!important;
border-radius:4px;
overflow:hidden;
}

.vek-cover-fallback::before{
content:"e-kniha";
display:flex;
align-items:center;
justify-content:center;
width:68%;
height:78%;
padding:12px;
border:1px solid #cad5dd;
border-radius:3px;
background:#fff;
box-shadow:0 5px 16px rgba(25,43,58,.08);
color:#7a858e;
font-size:11px;
font-weight:800;
letter-spacing:.06em;
text-transform:uppercase;
box-sizing:border-box;
}

.vek-cover-fallback::after{
content:attr(data-vek-cover-title);
position:absolute;
left:12%;
right:12%;
bottom:18%;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
overflow:hidden;
color:#485660;
font-size:9px;
font-weight:700;
line-height:1.25;
text-align:center;
}

.vek-cover-fallback > img{
display:none!important;
}

/* Detail cover can be larger. */
.p-detail .vek-cover-fallback,
.p-detail-inner .vek-cover-fallback{
min-height:280px;
}

/* ---------------------------------------------------------
   Pagination polish
   --------------------------------------------------------- */
.vek-pagination-summary{
display:flex;
align-items:center;
justify-content:center;
gap:7px;
margin:12px 0 8px;
color:#6f7a83;
font-size:9.8px;
font-weight:650;
line-height:1.2;
}

.vek-pagination-summary strong{
color:#26323c;
font-weight:800;
}

.pagination .current,
.pagination .active,
.pagination a[aria-current="page"],
.pagination span[aria-current="page"],
.paging .current,
.paging a[aria-current="page"]{
font-weight:800!important;
}

.pagination a:focus-visible,
.pagination button:focus-visible,
.paging a:focus-visible,
.vek-pagination-summary:focus-visible{
outline:2px solid #174f86!important;
outline-offset:2px!important;
}

/* Slightly larger touch target without redesigning theme pagination. */
@media(pointer:coarse){
.pagination a,
.pagination span,
.paging a,
.paging span{
min-width:34px;
min-height:34px;
display:inline-flex;
align-items:center;
justify-content:center;
box-sizing:border-box;
}
}

@media(max-width:767px){
.vek-cover-fallback{
min-height:150px;
}

.p-detail .vek-cover-fallback,
.p-detail-inner .vek-cover-fallback{
min-height:240px;
}
}


/* =========================================================
   UX Navigation & Personalization – Core additions v0.31.0
   ========================================================= */

/* Homepage – compact personal library status */
.vek-personal-library{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:7px;
margin:10px 0 0;
padding:8px 9px;
border:1px solid #e4e8eb;
border-radius:6px;
background:#fafbfc;
box-sizing:border-box;
}

.vek-personal-library-label{
margin-right:2px;
color:#707b84;
font-size:8.6px;
font-weight:850;
letter-spacing:.04em;
text-transform:uppercase;
}

.vek-personal-library-btn{
display:inline-flex;
align-items:center;
gap:5px;
min-height:28px;
padding:4px 8px;
border:1px solid #dce3e8;
border-radius:999px;
background:#fff;
color:#52606a;
font-size:8.9px;
font-weight:750;
line-height:1.15;
cursor:pointer;
}

.vek-personal-library-btn:hover{
border-color:#c7d2da;
color:#174f86;
}

.vek-personal-library-count{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:18px;
height:18px;
padding:0 4px;
border-radius:999px;
background:#eaf1f6;
color:#174f86;
font-size:8px;
font-weight:850;
}

.vek-personal-library-btn:focus-visible{
outline:3px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:767px){
.vek-personal-library{
flex-wrap:nowrap;
overflow-x:auto;
-webkit-overflow-scrolling:touch;
}

.vek-personal-library-label,
.vek-personal-library-btn{
flex:0 0 auto;
}
}

@media(pointer:coarse){
.vek-personal-library-btn{
min-height:38px;
}
}

/* =========================================================
   Author Ecosystem II – Detail polish v0.34.0
   ========================================================= */

.vek-author-tools{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
margin-top:7px;
}

.vek-author-tools-label{
color:#7a858e;
font-size:8.2px;
font-weight:850;
letter-spacing:.05em;
text-transform:uppercase;
}

.vek-author-tool-link{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
padding:4px 7px;
border:1px solid #dce3e8;
border-radius:999px;
background:#fff;
color:#174f86!important;
font-size:8.5px;
font-weight:760;
line-height:1.15;
text-decoration:none!important;
}

.vek-author-tool-link:hover{
border-color:#c7d2da;
background:#f7f9fa;
}

.vek-author-tool-link:focus-visible{
outline:3px solid #174f86!important;
outline-offset:2px!important;
}

.vek-author-multi-note{
margin-top:5px;
color:#7a858e;
font-size:8.5px;
line-height:1.35;
}

@media(pointer:coarse){
.vek-author-tool-link{
min-height:38px;
}
}

@media print{
.vek-author-tools,
.vek-author-multi-note{
display:none!important;
}
}

/* =========================================================
   Search & Discovery II v0.35.0
   ========================================================= */

.vek-search-context{
margin:10px 0 14px;
padding:10px 11px;
border:1px solid #e1e6ea;
border-radius:7px;
background:#fafbfc;
box-sizing:border-box;
}

.vek-search-context-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:10px;
}

.vek-search-context-copy{
min-width:0;
}

.vek-search-context-kicker{
color:#7a858e;
font-size:8.1px;
font-weight:850;
letter-spacing:.06em;
text-transform:uppercase;
}

.vek-search-context-title{
margin:2px 0 0!important;
color:#26323c;
font-size:12px!important;
font-weight:850!important;
line-height:1.25!important;
overflow-wrap:anywhere;
}

.vek-search-context-count{
flex:0 0 auto;
display:inline-flex;
align-items:center;
min-height:24px;
padding:4px 7px;
border-radius:999px;
background:#eaf1f6;
color:#174f86;
font-size:8.4px;
font-weight:800;
white-space:nowrap;
}

.vek-search-context-actions{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
margin-top:8px;
}

.vek-search-context-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
padding:4px 8px;
border:1px solid #dce3e8;
border-radius:5px;
background:#fff;
color:#5f6a73!important;
font-size:8.7px;
font-weight:750;
line-height:1.2;
text-decoration:none!important;
cursor:pointer;
}

.vek-search-context-btn:hover{
border-color:#c7d2da;
color:#174f86!important;
}

.vek-search-context-btn:focus-visible{
outline:3px solid #174f86!important;
outline-offset:2px!important;
}

/* Suggestions attached to existing quick search */
.vek-search-suggestions{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:5px;
margin-top:7px;
}

.vek-search-suggestions-label{
color:#7a858e;
font-size:8.2px;
font-weight:800;
}

.vek-search-suggestion{
display:inline-flex;
align-items:center;
min-height:25px;
padding:4px 7px;
border:1px solid #dce3e8;
border-radius:999px;
background:#fff;
color:#5b6871;
font-size:8.4px;
font-weight:700;
cursor:pointer;
}

.vek-search-suggestion:hover{
border-color:#c7d2da;
color:#174f86;
}

.vek-search-suggestion:focus-visible{
outline:3px solid #174f86!important;
outline-offset:2px!important;
}

/* Recent search polish */
.vek-recent-search-wrap{
display:flex;
align-items:center;
gap:3px;
}

.vek-recent-search-remove{
display:inline-flex;
align-items:center;
justify-content:center;
width:22px;
height:22px;
padding:0;
border:0;
border-radius:50%;
background:transparent;
color:#8a949c;
font-size:12px;
line-height:1;
cursor:pointer;
}

.vek-recent-search-remove:hover{
background:#eef2f5;
color:#174f86;
}

.vek-recent-search-remove:focus-visible{
outline:3px solid #174f86!important;
outline-offset:2px!important;
}

/* Better no-results recovery */
.vek-search-recovery{
margin-top:10px;
padding-top:9px;
border-top:1px solid #edf0f2;
}

.vek-search-recovery-title{
color:#26323c;
font-size:9.2px;
font-weight:800;
}

.vek-search-recovery-links{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:6px;
margin-top:6px;
}

.vek-search-recovery-link{
display:inline-flex;
align-items:center;
min-height:27px;
padding:4px 7px;
border:1px solid #dce3e8;
border-radius:5px;
background:#fff;
color:#174f86!important;
font-size:8.5px;
font-weight:750;
text-decoration:none!important;
}

.vek-search-recovery-link:hover{
border-color:#c7d2da;
background:#f7f9fa;
}

/* Keyboard hint, intentionally subtle */
.vek-search-keyhint{
margin-left:auto;
color:#949da4;
font-size:7.8px;
font-weight:650;
white-space:nowrap;
}

@media(max-width:767px){
.vek-search-context-head{
align-items:flex-start;
flex-direction:column;
}

.vek-search-context-count{
align-self:flex-start;
}

.vek-search-suggestions,
.vek-search-recovery-links{
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:4px;
-webkit-overflow-scrolling:touch;
}

.vek-search-suggestion,
.vek-search-recovery-link{
flex:0 0 auto;
}

.vek-search-keyhint{
display:none;
}
}

@media(pointer:coarse){
.vek-search-context-btn,
.vek-search-suggestion,
.vek-search-recovery-link{
min-height:38px;
}

.vek-recent-search-remove{
width:36px;
height:36px;
}
}

@media print{
.vek-search-context,
.vek-search-suggestions,
.vek-search-recovery{
display:none!important;
}
}

/* =========================================================
   Saved & Recent Library II v0.36.0
   ========================================================= */

.vek-library-launch{
display:inline-flex;
align-items:center;
justify-content:center;
gap:6px;
min-height:30px;
padding:5px 9px;
border:1px solid #d7dfe5;
border-radius:999px;
background:#fff;
color:#174f86;
font-size:8.8px;
font-weight:800;
line-height:1.15;
cursor:pointer;
}

.vek-library-launch:hover{
border-color:#bfd0dc;
background:#f7fafc;
}

.vek-library-launch-count{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:19px;
height:19px;
padding:0 5px;
border-radius:999px;
background:#174f86;
color:#fff;
font-size:7.8px;
font-weight:850;
}

.vek-library-dialog{
width:min(860px,calc(100vw - 28px));
max-height:min(84vh,820px);
padding:0;
border:1px solid #cfd8df;
border-radius:10px;
background:#fff;
box-shadow:0 16px 46px rgba(19,37,51,.25);
color:#26323c;
}

.vek-library-dialog::backdrop{
background:rgba(18,30,40,.42);
}

.vek-library-head{
position:sticky;
top:0;
z-index:3;
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
padding:11px 13px;
border-bottom:1px solid #e3e8eb;
background:#fff;
}

.vek-library-head-copy{
min-width:0;
}

.vek-library-kicker{
color:#7a858e;
font-size:8px;
font-weight:850;
letter-spacing:.07em;
text-transform:uppercase;
}

.vek-library-title{
margin:2px 0 0!important;
font-size:14px!important;
font-weight:850!important;
line-height:1.2!important;
}

.vek-library-close{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 32px;
width:32px;
height:32px;
padding:0;
border:0;
border-radius:50%;
background:transparent;
color:#6f7a83;
font-size:18px;
cursor:pointer;
}

.vek-library-close:hover{
background:#eef2f5;
color:#174f86;
}

.vek-library-tabs{
position:sticky;
top:55px;
z-index:2;
display:flex;
gap:6px;
padding:9px 13px;
border-bottom:1px solid #edf0f2;
background:#fafbfc;
}

.vek-library-tab{
display:inline-flex;
align-items:center;
justify-content:center;
gap:6px;
min-height:32px;
padding:5px 9px;
border:1px solid #dce3e8;
border-radius:999px;
background:#fff;
color:#5d6972;
font-size:8.8px;
font-weight:800;
cursor:pointer;
}

.vek-library-tab.is-active{
border-color:#174f86;
background:#174f86;
color:#fff;
}

.vek-library-tab-count{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:18px;
height:18px;
padding:0 4px;
border-radius:999px;
background:#edf2f5;
color:#60707a;
font-size:7.6px;
font-weight:850;
}

.vek-library-tab.is-active .vek-library-tab-count{
background:rgba(255,255,255,.2);
color:#fff;
}

.vek-library-panel{
padding:12px 13px;
}

.vek-library-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:9px;
}

.vek-library-card{
display:grid;
grid-template-columns:50px minmax(0,1fr) auto;
gap:9px;
align-items:center;
min-width:0;
padding:9px;
border:1px solid #e4e8eb;
border-radius:7px;
background:#fafbfc;
}

.vek-library-card:hover{
border-color:#d3dde3;
background:#f8fafb;
}

.vek-library-card-link{
display:contents;
color:inherit!important;
text-decoration:none!important;
}

.vek-library-card-image{
display:flex;
align-items:center;
justify-content:center;
width:50px;
height:68px;
overflow:hidden;
}

.vek-library-card-image img{
display:block;
max-width:100%;
max-height:100%;
object-fit:contain;
}

.vek-library-card-copy{
display:flex;
flex-direction:column;
min-width:0;
}

.vek-library-card-author{
overflow:hidden;
margin-bottom:3px;
color:#7a858e;
font-size:8.3px;
font-weight:620;
text-overflow:ellipsis;
white-space:nowrap;
}

.vek-library-card-name{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
overflow:hidden;
color:#26323c;
font-size:9.4px;
font-weight:770;
line-height:1.28;
overflow-wrap:anywhere;
}

.vek-library-card-price{
margin-top:4px;
color:#202830;
font-size:8.8px;
font-weight:850;
}

.vek-library-remove{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
padding:4px 7px;
border:1px solid transparent;
border-radius:5px;
background:transparent;
color:#879199;
font-size:8.2px;
font-weight:750;
cursor:pointer;
}

.vek-library-remove:hover{
border-color:#dce3e8;
background:#fff;
color:#174f86;
}

.vek-library-empty{
padding:24px 12px;
color:#77828b;
font-size:10px;
line-height:1.45;
text-align:center;
}

.vek-library-empty strong{
display:block;
margin-bottom:4px;
color:#26323c;
font-size:10.5px;
}

.vek-library-foot{
position:sticky;
bottom:0;
z-index:2;
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
padding:9px 13px 11px;
border-top:1px solid #edf0f2;
background:#fff;
}

.vek-library-foot-note{
color:#849099;
font-size:8.4px;
line-height:1.35;
}

.vek-library-actions{
display:flex;
align-items:center;
gap:6px;
}

.vek-library-action{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:30px;
padding:5px 8px;
border:1px solid #dce3e8;
border-radius:5px;
background:#fff;
color:#62707a!important;
font-size:8.6px;
font-weight:750;
text-decoration:none!important;
cursor:pointer;
}

.vek-library-action:hover{
border-color:#c7d2da;
color:#174f86!important;
}

.vek-library-launch:focus-visible,
.vek-library-close:focus-visible,
.vek-library-tab:focus-visible,
.vek-library-remove:focus-visible,
.vek-library-action:focus-visible{
outline:3px solid #174f86!important;
outline-offset:2px!important;
}

@media(max-width:680px){
.vek-library-dialog{
width:calc(100vw - 20px);
max-height:88vh;
}

.vek-library-grid{
grid-template-columns:1fr;
}

.vek-library-foot{
align-items:flex-start;
flex-direction:column;
}

.vek-library-actions{
width:100%;
}

.vek-library-action{
flex:1 1 auto;
}

.vek-library-tabs{
overflow-x:auto;
-webkit-overflow-scrolling:touch;
}
}

@media(max-width:430px){
.vek-library-card{
grid-template-columns:42px minmax(0,1fr);
}

.vek-library-card-image{
width:42px;
height:58px;
}

.vek-library-remove{
grid-column:2;
justify-self:start;
}
}

@media(pointer:coarse){
.vek-library-launch,
.vek-library-tab,
.vek-library-action{
min-height:40px;
}

.vek-library-close{
width:40px;
height:40px;
}
}

@media(prefers-reduced-motion:reduce){
.vek-library-dialog *,
.vek-library-launch{
transition:none!important;
animation:none!important;
}
}

@media print{
.vek-library-launch,
.vek-library-dialog{
display:none!important;
}
}

/* =========================================================
   Analytics & Event Layer v0.37.0
   No visitor-facing UI.
   ========================================================= */
.vek-analytics-debug{display:none!important;}
.vek-system-event-count{font-variant-numeric:tabular-nums;}
