/* VEK Catalog v0.4.9 - Search UX & Accessibility */

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;
}
}
