/*
Theme Name: Flavor Letaky
Theme URI: https://flavor.sk
Author: Flavor Studio
Description: Tema pre web s akciovymi letakmi obchodov. Inspirovane mroferto.sk.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: flavor-letaky
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: #0b5fcc; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #094daa; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; color: #111; }

/* ===== SCREEN READER ===== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    height: auto;
    width: auto;
    background: #fff;
    padding: 15px 23px;
    font-size: 0.875rem;
    z-index: 100000;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.container--flex { display: flex; align-items: center; }
.ta-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-6 { margin-bottom: 3.5rem; }
.ml-0 { margin-left: 0; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.mw-600 { max-width: 600px; }
.mw-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.mw-900 { max-width: 900px; }
.w100 { width: 100%; }
.d-block { display: block; }
.d-flex { display: flex; }
.color-black { color: #222 !important; }
.color-grey { color: #666 !important; }
.td-none { text-decoration: none; }
.td-hover-underline:hover { text-decoration: underline; }
.fw-regular { font-weight: 400; }
.fz-s { font-size: 0.875rem; }
.fz-xs { font-size: 0.8rem; }
.fz-xxs { font-size: 0.75rem; }
.fz-xl { font-size: 1.5rem; }
.strong { font-weight: 600; }
.lh-15 { line-height: 1.5; }
.overflow-hidden { overflow: hidden; }

/* ===== HEADER ===== */
.k-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 12px 0;
    z-index: 100;
}

@media (min-width: 769px) {
    .k-header {
        position: sticky;
        top: 0;
    }
    .admin-bar .k-header {
        top: 32px;
    }
}

.k-header .container--flex {
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.k-header__logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e53935;
    flex-shrink: 0;
}

.k-header__logo-link span {
    color: #333;
}

.k-header__search {
    flex: 1;
    max-width: 400px;
    display: flex;
    gap: 10px;
}

.k-header__search form {
    flex: 1;
}

.k-header__search input[type="search"],
.k-header__search input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.k-header__search input:focus {
    border-color: #1a73e8;
}

.k-header__nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.k-header__nav-item {
    padding: 10px 14px;
    font-size: 1rem;
    color: #222;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.k-header__nav-item:hover {
    background: #f0f0f0;
    text-decoration: none;
}

.k-header__nav-separator {
    color: #ddd;
    margin: 0 2px;
}

.k-header__mobile-icons {
    display: none;
    align-items: center;
    gap: 4px;
}

.k-header__search-icon,
.k-header__menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    color: #222;
    transition: background 0.2s;
}

.k-header__search-icon:hover,
.k-header__menu-icon:hover {
    background: #f0f0f0;
}

.k-header__search--mobile {
    display: none;
    padding: 10px 0;
    border-top: 1px solid #e8e8e8;
}

.k-header__search--mobile.k-header__search--visible {
    display: block;
}

.k-header__nav-dropdown-wrapper {
    position: relative;
}

.k-header__nav-item--more {
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    text-decoration: none;
}

.k-header__nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 50;
    padding: 8px 0;
}

.k-header__nav-dropdown-wrapper:hover .k-header__nav-dropdown {
    display: block;
}

.k-header__nav-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #333;
    font-size: 0.9rem;
}

.k-header__nav-dropdown a:hover {
    background: #f5f5f5;
    text-decoration: none;
}

/* ===== PAGE TITLES ===== */
.k__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
}

.k__text {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* ===== LEAFLETS GRID ===== */
.k-leaflets__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.k-leaflets__item {
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 12px 16px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.k-leaflets__item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.k-leaflets__link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
    aspect-ratio: 230 / 288;
    background: #f0f0f0;
}

.k-leaflets__link:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.k-leaflets__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k-leaflets__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #999;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.k-leaflets__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 10px;
}

.k-leaflets__title a {
    color: #222;
    text-decoration: none;
}

.k-leaflets__title a:hover {
    text-decoration: underline;
}

.k-leaflets__date {
    font-size: 0.9rem;
    color: #555;
    margin-top: 4px;
}

.k-leaflets__button {
    display: block;
    padding: 12px 16px;
    background: #0b5fcc;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 12px;
    text-align: center;
}

.k-leaflets__button:hover {
    background: #094daa;
    text-decoration: none;
    color: #fff;
}

/* ===== SHOP GRID ===== */
.k-shop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 1.5rem;
}

.k-shop__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.k-shop__item:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
}

.k-shop__image-wrapper {
    width: 80px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.k-shop__image-wrapper img {
    max-width: 80px;
    max-height: 70px;
    object-fit: contain;
}

.k-shop__logo-placeholder {
    width: 80px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 0.7rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.k-shop__title {
    font-size: 0.95rem;
    color: #222;
    text-align: center;
    font-weight: 600;
}

/* ===== BREADCRUMB ===== */
.k-breadcrumb__container {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.k-breadcrumb {
    font-size: 0.875rem;
    color: #555;
}

.k-breadcrumb a {
    color: #555;
}

.k-breadcrumb a:hover {
    color: #222;
}

.k-breadcrumb__separator {
    margin: 0 6px;
    color: #ccc;
}

/* ===== PROFILE HEADER (Store Detail) ===== */
.k-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
}

.k-profile-header__logo-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k-profile-header__logo-wrapper img {
    max-width: 120px;
    max-height: 100px;
    object-fit: contain;
}

.k-profile-header__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.k-profile-header__desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 8px;
}

/* ===== LEAFLET DETAIL LAYOUT ===== */
.k-lf-layout {
    padding: 20px 0 40px;
}

.k-lf-layout .container {
    display: flex;
    gap: 30px;
}

.leaflet__content {
    flex: 1;
    min-width: 0;
}

.leaflet__sidebar {
    width: 300px;
    flex-shrink: 0;
}

.leaflet__detail-header {
    margin-bottom: 20px;
}

.page-header__title {
    font-size: 1.4rem;
    font-weight: 600;
}

.leaflet__date {
    color: #e53935;
    font-weight: 600;
}

.page-header__text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ===== LEAFLET PREVIEW (Detail Page Image) ===== */
.leaflet-preview {
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    max-width: 870px;
}

.leaflet-preview img {
    width: 100%;
    height: auto;
}

.leaflet-preview__link {
    display: block;
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.leaflet-preview__link:hover {
    opacity: 0.92;
}

.leaflet-preview__placeholder {
    width: 100%;
    aspect-ratio: 870 / 1190;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    font-size: 1.2rem;
    color: #999;
}

/* Skeleton shimmer for IO lazy-loaded images */
.leaflet-preview img.js-lazy-img:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    aspect-ratio: 870 / 1190;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== PAGINATOR ===== */
.k-paginator__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 10px;
}

.k-paginator__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #43a047;
    color: #fff;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.k-paginator__button:hover {
    background: #388e3c;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.k-paginator__button--disabled {
    background: #e0e0e0;
    color: #999;
    pointer-events: none;
    box-shadow: none;
}

.k-paginator__info {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* ===== SIDEBAR BOXES ===== */
.lf__box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.lf__box-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.lf__box-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.lf__box-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lf__box-image-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.lf__box-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lf__box-link {
    font-size: 0.95rem;
    color: #222 !important;
    font-weight: 600;
    margin-bottom: 4px;
    text-decoration: none;
}

.lf__box-link:hover {
    text-decoration: underline;
}

.lf__box-date {
    font-size: 0.85rem;
    color: #555;
}

/* ===== SEO CONTENT SECTIONS ===== */
.k-content {
    margin-top: 2rem;
}

.k-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.k-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.k-content a {
    color: #1a73e8;
}

/* ===== FOOTER ===== */
.k-footer {
    background: #f8f8f8;
    border-top: 1px solid #e8e8e8;
    padding: 40px 0 30px;
    margin-top: 3rem;
}

.k-footer__wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.k-footer__column {
    flex: 1;
    min-width: 200px;
}

.k-footer__column--first {
    max-width: 300px;
}

.k-footer__logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e53935;
    text-decoration: none;
    margin-bottom: 12px;
    display: inline-block;
}

.k-footer__logo span {
    color: #333;
}

.k-footer__about {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.k-footer__copyright {
    font-size: 0.85rem;
    color: #777;
}

.k-footer__heading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.k-footer__links {
    list-style: none;
}

.k-footer__links li {
    margin-bottom: 8px;
}

.k-footer__links a {
    font-size: 0.9rem;
    color: #555;
}

.k-footer__links a:hover {
    color: #333;
}

/* ===== SUBFOOTER (country switcher) ===== */
.k-subfooter {
    background: #f0f0f0;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
    text-align: center;
    font-size: 0.82rem;
}
.k-subfooter .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.k-subfooter__item {
    color: #666;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.15s;
}
.k-subfooter__item:hover {
    background: #e4e4e4;
    color: #333;
}
.k-subfooter__item--active {
    font-weight: 600;
    color: #333;
    background: #e4e4e4;
}

/* ===== BLOG HERO IMAGE ===== */
.k-content__hero {
    border-radius: 12px;
    overflow: hidden;
}
.k-content__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== ARTICLE LAYOUT + SIDEBAR ===== */
.k-article-layout {
    display: flex;
    gap: 40px;
    max-width: 1100px;
}
.k-article-layout .k-content {
    flex: 1;
    min-width: 0;
}
.k-article-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.k-article-sidebar__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E8432A;
}
.k-article-sidebar__list {
    list-style: none;
}
.k-article-sidebar__item {
    margin-bottom: 12px;
}
.k-article-sidebar__link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: #333;
    transition: color 0.15s;
}
.k-article-sidebar__link:hover {
    color: #E8432A;
}
.k-article-sidebar__thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.k-article-sidebar__link-title {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.k-article-sidebar__date {
    font-size: 0.75rem;
}
@media (max-width: 768px) {
    .k-article-layout {
        flex-direction: column;
        gap: 30px;
    }
    .k-article-sidebar {
        width: 100%;
    }
}

/* ===== BUTTONS ===== */
.k-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}
.k-btn--primary {
    background: #E8432A;
    color: #fff;
}
.k-btn--primary:hover {
    background: #e55a28;
}
.k-btn--outline {
    background: #fff;
    color: #333;
    border: 1.5px solid #ddd;
}
.k-btn--outline:hover {
    border-color: #E8432A;
    color: #E8432A;
    background: #fff5f0;
}

/* ===== PAGINATION ===== */
nav[aria-label] .page-numbers:first-child { /* wrapper context */ }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.15s;
    background: #fff;
}
a.page-numbers:hover {
    background: #f5f5f5;
    border-color: #ccc;
}
.page-numbers.current {
    background: #E8432A;
    color: #fff;
    border-color: #E8432A;
    font-weight: 600;
}
.page-numbers.dots {
    border: none;
    background: none;
    min-width: auto;
    padding: 0 2px;
    color: #999;
}
.next.page-numbers,
.prev.page-numbers {
    font-weight: 500;
    gap: 4px;
}
nav.ta-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
@media (max-width: 480px) {
    .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 0.8rem;
    }
    nav.ta-center {
        gap: 4px;
    }
    .next.page-numbers .pag-label,
    .prev.page-numbers .pag-label {
        display: none;
    }
}

/* ===== ARCHIVE FILTERS ===== */
.k-archive-header {
    padding: 30px 0 10px;
}

.k-archive-header__title {
    font-size: 1.75rem;
    font-weight: 600;
}

.k-archive-header__desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 8px;
    max-width: 700px;
}

/* ===== CATEGORY TAGS ===== */
.k-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.k-tags__item {
    display: inline-block;
    padding: 10px 18px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 24px;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.k-tags__item:hover,
.k-tags__item--active {
    background: #222;
    color: #fff;
    border-color: #222;
    text-decoration: none;
}

/* ===== LEAFLET INFO (below image) ===== */
.leaflet__info {
    border-top: 1px solid #e8e8e8;
    padding: 20px 0;
    margin-top: 10px;
}

.leaflet__info p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.leaflet__info strong {
    font-weight: 600;
}

.leaflet__info a {
    color: #1a73e8;
}

/* ===== BACK LINKS ===== */
.k-back-links {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    flex-wrap: wrap;
    border-top: 1px solid #e8e8e8;
}

.k-back-links a {
    display: inline-block;
    padding: 12px 22px;
    font-size: 1rem;
    color: #222;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.k-back-links a:hover {
    background: #e8e8e8;
    border-color: #ccc;
    text-decoration: none;
}

/* ===== LIGHTBOX ===== */
.k-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.k-lightbox--open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.k-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.k-lightbox__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.k-lightbox__img-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.k-lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    transition: opacity 0.2s;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    transform-origin: center center;
}

.k-lightbox__loader {
    display: none;
    position: absolute;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: k-spin 0.7s linear infinite;
}

@keyframes k-spin {
    to { transform: rotate(360deg); }
}

.k-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 10px 18px;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.k-lightbox__close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.8);
}

.k-lightbox__prev,
.k-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 3.5rem;
    cursor: pointer;
    z-index: 10;
    padding: 16px 22px;
    border-radius: 10px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s, background 0.2s;
    min-width: 60px;
    min-height: 70px;
}

.k-lightbox__prev:hover,
.k-lightbox__next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.25);
}

.k-lightbox__prev { left: 16px; }
.k-lightbox__next { right: 16px; }

.k-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .k-lf-layout .container {
        flex-direction: column;
    }
    .leaflet__sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .k-header .container--flex {
        flex-wrap: wrap;
    }
    .k-header__search--desktop {
        display: none;
    }
    .k-header__mobile-icons {
        display: flex;
    }
    .k-header__nav {
        display: none;
    }
    .k-header--open .k-header__nav {
        display: flex;
        flex-basis: 100%;
        order: 4;
        flex-direction: column;
        padding-top: 10px;
    }
    .k-leaflets__wrapper {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .k-shop {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
    .k-profile-header {
        flex-direction: column;
        text-align: center;
    }
    .k__title {
        font-size: 1.3rem;
    }
    .k-footer__wrapper {
        flex-direction: column;
        gap: 25px;
    }
    .k-footer__column--first {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .k-leaflets__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .k-shop {
        grid-template-columns: repeat(3, 1fr);
    }
    .k-paginator__wrapper {
        gap: 4px;
        flex-wrap: nowrap;
    }
    .k-paginator__button {
        padding: 10px 12px;
        font-size: 0.85rem;
        min-height: 44px;
        white-space: nowrap;
    }
    .k-paginator__button .pag-label {
        display: none;
    }
    .k-paginator__info {
        font-size: 0.85rem;
        white-space: nowrap;
        font-weight: 600;
    }
    .k-thumbstrip {
        max-width: 100%;
    }
}

.k-paginator__button--archive {
    background: #1976D2;
    color: #fff;
}
.k-paginator__button--archive:hover {
    background: #1565C0;
    color: #fff;
}

/* ===== SHOW ALL PAGES BUTTON ===== */
.k-show-all-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.k-show-all-btn:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

/* ===== INTERSTITIAL AD POPUP ===== */
.k-interstitial {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}
.k-interstitial--open {
    display: flex;
}
.k-interstitial__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}
.k-interstitial__content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}
.k-interstitial__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}
.k-interstitial__label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.k-interstitial__countdown {
    font-size: 0.8rem;
    color: #666;
}
.k-interstitial__body {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.k-interstitial__body .k-ad-slot {
    margin: 0;
}
.k-interstitial__close {
    display: block;
    width: 100%;
    padding: 14px;
    background: #e0e0e0;
    color: #999;
    border: none;
    border-radius: 0 0 12px 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
    transition: background 0.2s, color 0.2s;
}
.k-interstitial__close--ready {
    background: #43a047;
    color: #fff;
    cursor: pointer;
}
.k-interstitial__close--ready:hover {
    background: #388e3c;
}

/* ===== PAGE LOADER ===== */
.k-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
}
.admin-bar .k-page-loader {
    top: 32px;
}
.k-page-loader__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #5B9BD5, #4CAF50);
    border-radius: 0 2px 2px 0;
    animation: k-loader-progress 1.5s ease-out forwards;
}
.k-page-loader--done .k-page-loader__bar {
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s 0.2s;
}
@keyframes k-loader-progress {
    0% { width: 0; }
    30% { width: 60%; }
    60% { width: 80%; }
    100% { width: 95%; }
}

/* ===== AD SLOTS ===== */
.k-ad-slot {
    margin: 20px 0;
    text-align: center;
    clear: both;
}
.k-ad-slot--header_below {
    margin: 0;
    padding: 12px 0;
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
}
.k-ad-slot--header_below .container {
    text-align: center;
}
.k-ad-slot--sidebar_top,
.k-ad-slot--sidebar_sticky {
    margin: 0 0 24px 0;
}
.k-ad-slot--sidebar_sticky {
    position: sticky;
    top: 80px;
}
.admin-bar .k-ad-slot--sidebar_sticky {
    top: 112px;
}
.k-ad-slot--letak_content {
    margin: 30px 0;
}
.k-ad-slot--footer_above {
    margin: 0;
    padding: 20px 0;
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
}

/* ===== BLOG SECTION ===== */
.k-blog__title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.k-blog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.k-blog__item {
    display: block;
    text-decoration: none;
    color: #222;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    transition: box-shadow 0.2s;
}
.k-blog__item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.k-blog__image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.k-blog__item-title {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 12px;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .k-blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .k-blog__grid {
        grid-template-columns: 1fr;
    }
    .k-blog__image {
        height: 160px;
    }
}

/* ===== EXPIRY BADGE ===== */
.k-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
}
.k-badge--urgent {
    background: #e53935;
    color: #fff;
}
.k-badge--soon {
    background: #ff9800;
    color: #fff;
}
.k-badge--region {
    background: #1976d2;
    color: #fff;
}
.k-badge--type {
    background: #7b1fa2;
    color: #fff;
}
.k-variant-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.k-variant-switcher__label {
    font-size: 0.85rem;
    color: #666;
    width: 100%;
}
.k-variant-switcher__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.82rem;
    text-decoration: none;
    color: #333;
    transition: all 0.15s;
}
.k-variant-switcher__link:hover {
    border-color: #1976d2;
    color: #1976d2;
    background: #e3f2fd;
}
.k-leaflets__item {
    position: relative;
}
.k-leaflets__link .k-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

/* ===== THUMBNAIL STRIP ===== */
.k-thumbstrip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0;
    margin: 0 0 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.k-thumbstrip::-webkit-scrollbar {
    height: 4px;
}
.k-thumbstrip::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
.k-thumbstrip__item {
    flex-shrink: 0;
    width: 60px;
    height: 82px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.75;
    text-decoration: none;
    display: block;
}
.k-thumbstrip__item:hover {
    opacity: 1;
    border-color: #999;
}
.k-thumbstrip__item--active {
    border-color: #43a047;
    opacity: 1;
    box-shadow: 0 0 0 2px #43a047;
}
.k-thumbstrip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.k-thumbstrip__num {
    width: 60px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #666;
    background: #f5f5f5;
    font-weight: 600;
}

/* ===== SHARE BUTTON ===== */
.k-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.k-share:hover {
    background: #e8e8e8;
    text-decoration: none;
    color: #333;
}
.k-share__toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.k-share__toast--visible {
    opacity: 1;
}

/* ===== FAVORITE STAR ===== */
.k-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
    line-height: 1;
}
.k-fav:hover {
    transform: scale(1.15);
}
.k-fav--active {
    color: #ff9800;
}
.k-fav-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff8e1;
    border: 2px solid #ffcc02;
    border-radius: 24px;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}
.k-fav-filter:hover,
.k-fav-filter--active {
    background: #ff9800;
    color: #fff;
    border-color: #ff9800;
}

/* ===== STICKY MOBILE AD ===== */
.k-ad-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 6px 0;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
.k-ad-sticky__close {
    position: absolute;
    top: -30px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .k-ad-sticky {
        display: block;
    }
    body.has-sticky-ad {
        padding-bottom: 70px;
    }
}

/* ===== ONESIGNAL PUSH BOX ===== */
.k-push-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.k-push-box__icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.k-push-box__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}
.k-push-box__text {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.5;
}
.k-push-box__btn {
    display: inline-block;
    padding: 10px 22px;
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.k-push-box__btn:hover {
    background: #c62828;
}
.k-push-box__btn--subscribed {
    background: #43a047;
    cursor: default;
}
.k-push-box__btn--subscribed:hover {
    background: #43a047;
}
.k-push-box__status {
    font-size: 0.75rem;
    color: #999;
    margin-top: 8px;
    min-height: 1em;
}

/* Push box debug */
.k-push-box__debug {
    margin-top: 12px;
    border-top: 1px dashed #ddd;
    padding-top: 12px;
}
.k-push-box__debug-label {
    display: inline-block;
    padding: 2px 8px;
    background: #ff5722;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.k-push-box__debug-browser {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}
.k-push-box__debug-browser-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #e8e8e8;
    border-bottom: 1px solid #ddd;
}
.k-push-box__debug-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
}
.k-push-box__debug-native {
    padding: 12px;
    background: #fff;
}
.k-push-box__debug-btn {
    padding: 5px 14px;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.k-push-box__debug-btn--block {
    background: #f5f5f5;
    color: #333;
}
.k-push-box__debug-btn--allow {
    background: #1a73e8;
    color: #fff;
}

/* ===== INTERACTION HINTS ===== */
.k-zoom-hint {
    text-align: center;
    font-size: 0.875rem;
    color: #555;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.k-zoom-hint__icon {
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .k-zoom-hint {
        font-size: 0.85rem;
    }
}

/* ===== STORE LOADER (mobile fullscreen overlay, JS-activated) ===== */
.k-store-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #fff;
    align-items: center;
    justify-content: center;
}
.k-store-loader--open {
    display: flex;
}
@media (max-width: 768px) {
    .k-header {
        position: relative;
        z-index: 10001;
    }
}
.k-store-loader__body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    width: 100%;
}
/* Status bar at top */
.k-store-loader__status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-bottom: 24px;
}
.k-store-loader__spinner {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 3px solid #e0e0e0;
    border-top-color: #0b5fcc;
    border-radius: 50%;
    animation: k-spin 0.8s linear infinite;
}
@keyframes k-spin {
    to { transform: rotate(360deg); }
}
.k-store-loader__text {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}
/* Ready state */
.k-store-loader__status--ready {
    background: #e8f5e9;
    border-color: #c8e6c9;
    padding: 0;
    border: none;
}
.k-store-loader__status--ready .k-store-loader__spinner,
.k-store-loader__status--ready .k-store-loader__text {
    display: none;
}
.k-store-loader__btn {
    display: none;
    width: 100%;
    padding: 18px 20px;
    background: #43a047;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    animation: k-fade-in 0.4s ease;
    box-shadow: 0 4px 16px rgba(67,160,71,0.3);
}
.k-store-loader__btn:hover,
.k-store-loader__btn:active {
    background: #388e3c;
    color: #fff;
}
.k-store-loader__status--ready .k-store-loader__btn {
    display: block;
}
@keyframes k-fade-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
/* Article card */
.k-store-loader__article {
    margin-bottom: 20px;
}
.k-store-loader__article-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.k-store-loader__article-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.k-store-loader__article-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    color: inherit;
}
.k-store-loader__article-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.k-store-loader__article-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    padding: 14px 16px 6px;
    line-height: 1.3;
}
.k-store-loader__article-excerpt {
    font-size: 0.9rem;
    color: #555;
    padding: 0 16px 14px;
    line-height: 1.5;
}
/* Ad inside loader */
.k-store-loader__ad {
    margin-top: auto;
    padding-top: 16px;
}

/* ===== GOOGLE-STYLE INTERSTITIAL AD ===== */
.k-intad {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    align-items: center;
    justify-content: center;
}
.k-intad--open {
    display: flex;
}
.k-intad__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}
.k-intad__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 16px 16px;
    background: #f1f3f4;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}
.k-intad__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
    transition: background 0.15s, box-shadow 0.15s;
    padding: 0;
    z-index: 1;
}
.k-intad__close:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.k-intad__close:active {
    background: #e8eaed;
}
.k-intad__slot {
    background: #fff;
    border-radius: 4px;
    min-width: 300px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.k-intad__slot .k-ad-slot {
    margin: 0;
}

/* ===== AKTUALNE ZLAVY LANDING PAGE ===== */
/* Designed for 50+ FB campaign traffic — large tap targets, clear CTAs, urgency */

.zlavy-hero {
    background: linear-gradient(135deg, #E8432A 0%, #c9351f 100%);
    color: #fff;
    padding: 32px 0 28px;
    text-align: center;
    margin-bottom: 28px;
}
.zlavy-hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.zlavy-hero__sub {
    font-size: 1.15rem;
    opacity: .9;
    margin-bottom: 20px;
}
.zlavy-hero__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.zlavy-hero__stat {
    background: rgba(255,255,255,.18);
    border-radius: 10px;
    padding: 12px 20px;
    min-width: 120px;
}
.zlavy-hero__stat--urgent {
    background: rgba(255,255,255,.3);
    animation: pulse-urgent 2s ease-in-out infinite;
}
@keyframes pulse-urgent {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
.zlavy-hero__stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}
.zlavy-hero__stat-label {
    font-size: .85rem;
    opacity: .9;
}

.zlavy-section {
    margin-bottom: 36px;
}
.zlavy-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111;
}
.zlavy-section__title--urgent {
    color: #c0392b;
}
.zlavy-section__desc {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

/* Card grid — large, easy to tap */
.zlavy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.zlavy-grid--featured {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.zlavy-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
    cursor: pointer;
}
.zlavy-card:hover {
    border-color: #E8432A;
    box-shadow: 0 4px 16px rgba(255,107,53,.15);
    text-decoration: none;
    color: #222;
}
.zlavy-card--urgent {
    border-color: #e74c3c;
    background: #fff8f7;
}
.zlavy-card--urgent:hover {
    border-color: #c0392b;
    box-shadow: 0 4px 16px rgba(231,76,60,.2);
}

.zlavy-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
    animation: pulse-urgent 2s ease-in-out infinite;
}
.zlavy-card__badge--warn {
    background: #e67e22;
    animation: none;
}

.zlavy-card__image {
    aspect-ratio: 230 / 288;
    overflow: hidden;
    background: #f5f5f5;
}
.zlavy-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zlavy-card__info {
    padding: 10px 14px 4px;
}
.zlavy-card__store {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}
.zlavy-card__date {
    display: block;
    font-size: .9rem;
    color: #666;
}

.zlavy-card__cta {
    display: block;
    padding: 10px 14px 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #E8432A;
    margin-top: auto;
}
.zlavy-card:hover .zlavy-card__cta {
    color: #c9351f;
}

/* Trust section */
.zlavy-trust {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px 24px;
    margin: 32px 0;
    text-align: center;
}
.zlavy-trust__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}
.zlavy-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.zlavy-trust__item {
    padding: 12px;
}
.zlavy-trust__icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
}
.zlavy-trust__item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.zlavy-trust__item p {
    font-size: .95rem;
    color: #555;
    line-height: 1.5;
}

/* Mobile: even larger tap targets */
@media (max-width: 600px) {
    .zlavy-hero__title { font-size: 1.6rem; }
    .zlavy-hero__stat-num { font-size: 1.6rem; }
    .zlavy-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .zlavy-card__store { font-size: 1rem; }
    .zlavy-card__cta { font-size: .95rem; padding: 8px 12px 12px; }
    .zlavy-section__title { font-size: 1.25rem; }
}
