.site-header {
    background: linear-gradient(180deg, #0a6ebd 0%, #085fa3 100%);
    box-shadow: 0 2px 12px rgba(0, 40, 80, 0.18);
    position: relative;
    z-index: 200;
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.site-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    text-decoration: none;
    color: #fff;
    margin-right: auto;
    padding: 8px 0;
    line-height: 1.1;
}

.site-brand-name {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-brand-tld {
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.88;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 4px;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav-link:hover {
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.site-nav-dropdown {
    position: relative;
}

.site-nav-dropdown > summary {
    list-style: none;
    cursor: pointer;
}

.site-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.site-nav-dropdown-trigger .site-nav-chevron {
    transition: transform 0.2s ease;
    opacity: 0.9;
}

.site-nav-dropdown[open] .site-nav-dropdown-trigger {
    background: rgba(255, 255, 255, 0.18);
}

.site-nav-dropdown[open] .site-nav-chevron {
    transform: rotate(180deg);
}

.site-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(8, 95, 163, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 35, 70, 0.16), 0 2px 8px rgba(0, 35, 70, 0.08);
    padding: 8px;
    z-index: 300;
}

.site-nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(8, 95, 163, 0.12);
    border-top: 1px solid rgba(8, 95, 163, 0.12);
    transform: rotate(45deg);
}

.site-nav-dropdown-item {
    display: block;
    color: #1a2a3a;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 8px;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav-dropdown-item:hover {
    background: #eef6fc;
    color: #085fa3;
    text-decoration: none;
}

.site-nav-dropdown-item-featured {
    font-weight: 600;
    color: #085fa3;
}

.site-nav-dropdown-item + .site-nav-dropdown-item {
    margin-top: 2px;
}

.site-nav-dropdown-label {
    margin: 10px 14px 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6a8094;
}

.site-nav-dropdown-label:first-of-type {
    margin-top: 6px;
}

@media (max-width: 720px) {
    .site-header-inner {
        padding: 12px 16px 14px;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .site-brand {
        margin-right: 0;
        justify-content: center;
    }

    .site-nav {
        justify-content: center;
        gap: 4px;
    }

    .site-nav-link {
        font-size: 1rem;
        padding: 9px 11px;
    }

    .site-nav-dropdown-panel {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-nav-dropdown-panel::before {
        left: 50%;
        margin-left: -6px;
    }
}

/* Legacy aliases (starší šablony) */
.top-menu {
    background: linear-gradient(180deg, #0a6ebd 0%, #085fa3 100%);
}

.page-wrapper {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 64px);
}

.page-wrapper .content {
    flex: 1;
    padding: 24px;
    background: #fff;
    overflow-x: auto;
}

.page-wrapper--no-sidebar .content {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.katalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.katalog-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.katalog-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s, border-color 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.katalog-box-media {
    height: 200px;
    flex: 0 0 200px;
    width: 100%;
    background: #f3f3f3;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.katalog-box-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    box-sizing: border-box;
}

.katalog-box-placeholder {
    color: #999;
    font-size: 0.85rem;
}

.katalog-box-body {
    padding: 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.katalog-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0077cc;
}

.katalog-box h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.35;
    min-height: 2.7em;
}

.katalog-box-lead {
    margin: -4px 0 10px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #444;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.katalog-box-body p {
    margin: 0 0 6px;
    font-size: 0.95rem;
}

.katalog-box-body p:last-child {
    margin-bottom: 0;
}

.product-detail-body {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 780px;
}

.product-detail .detail-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    flex: 1 1 480px;
    max-width: 520px;
    width: 100%;
    min-width: 0;
}

.product-detail-back {
    margin: 0 0 16px;
}

.product-detail-back a {
    color: #0077cc;
    text-decoration: none;
}

.product-detail-back a:hover {
    text-decoration: underline;
}

.product-detail-intro {
    margin-bottom: 20px;
    max-width: 780px;
}

.product-detail-intro h1 {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 1.05rem + 0.65vw, 1.55rem);
    line-height: 1.3;
    text-wrap: balance;
}

.product-detail-lead {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #333;
}

.product-detail-meta {
    margin: 0;
    color: #555;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 1em 0 0;
}

.product-detail-action-icon {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}

.product-runtime-calc-link,
.product-battery-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product-runtime-calc-link {
    background: linear-gradient(180deg, #1a9b6e 0%, #0d7a5f 100%);
    box-shadow: 0 2px 8px rgba(13, 122, 95, 0.28);
}

.product-runtime-calc-link:hover {
    background: linear-gradient(180deg, #0d7a5f 0%, #0a654e 100%);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(13, 122, 95, 0.36);
    transform: translateY(-1px);
}

.product-battery-jump-link {
    background: linear-gradient(180deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.28);
}

.product-battery-jump-link:hover {
    background: linear-gradient(180deg, #e67e22 0%, #d35400 100%);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.36);
    transform: translateY(-1px);
}

.product-detail-actions-hint {
    flex: 1 1 100%;
    margin: 0;
    color: #667788;
    font-size: 0.88rem;
    line-height: 1.4;
}

.product-compat {
    scroll-margin-top: 20px;
}

.product-detail-image {
    flex: 0 0 260px;
    position: sticky;
    top: 20px;
}

.product-detail-side {
    flex: 0 0 260px;
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-affiliate-box {
    padding: 16px;
    border: 2px solid #0077cc;
    border-radius: 10px;
    background: #f0f7fd;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 119, 204, 0.12);
}

.product-affiliate-link {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    background: #0077cc;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.product-affiliate-link:hover {
    background: #005fa3;
    text-decoration: none;
    transform: translateY(-1px);
}

.product-affiliate-box--below-editorial {
    margin-top: 24px;
    max-width: 720px;
}

.product-similar {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    max-width: 720px;
}

.product-similar h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.product-similar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-similar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.product-similar-list li:last-child {
    border-bottom: 0;
}

.product-similar-list a {
    font-weight: 600;
}

.product-similar-meta {
    display: block;
    margin-top: 2px;
    color: #666;
    font-size: 0.95rem;
}

.product-similar-more {
    margin: 16px 0 0;
}

.content-prose-block {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px 28px;
    box-sizing: border-box;
}

.content-prose-block > :first-child {
    margin-top: 0;
}

.content-prose-block > :last-child {
    margin-bottom: 0;
}

.product-detail .detail-section + .detail-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.product-detail .detail-section h2 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #0077cc;
}

.product-detail .detail-dl {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 8px 16px;
    margin: 0;
}

.product-detail .detail-dl dt {
    margin: 0;
    font-weight: bold;
    color: #333;
}

.product-detail .detail-dl dd {
    margin: 0;
    color: #444;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.empty-state {
    color: #666;
    padding: 24px 0;
}

.katalog-intro {
    background: #f0f7fd;
    border: 1px solid #b8daf3;
    border-radius: 8px;
    padding: 20px 24px;
    max-width: 640px;
}

.katalog-intro h2 {
    margin-top: 0;
    font-size: 1.15rem;
}

.katalog-intro-lead {
    margin: 0 0 12px;
    line-height: 1.55;
    color: #333;
}

.katalog-intro-steps {
    margin: 12px 0 16px;
    padding-left: 22px;
}

.katalog-intro-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.katalog-intro-count {
    margin: 0 0 10px;
    color: #2a4258;
    font-weight: 600;
}

.katalog-intro-cta {
    margin: 16px 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px dashed #e57373;
    border-radius: 8px;
    text-align: center;
}

.katalog-intro-cta-label {
    margin: 0 0 10px;
    font-weight: 600;
    color: #333;
}

.katalog-intro-btn-preview,
.katalog-filter-demo {
    display: inline-block;
    min-width: 180px;
    padding: 12px 20px;
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.32);
    letter-spacing: 0.02em;
    border: none;
    text-align: center;
}

.katalog-intro-cta-hint {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.45;
}

.katalog-intro-note {
    margin-bottom: 0;
    color: #444;
    line-height: 1.5;
}

.katalog-count {
    color: #444;
}

.katalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.katalog-page-link,
.katalog-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.92rem;
}

.katalog-page-link {
    background: #f0f7fd;
    border: 1px solid #b8daf3;
    color: #0077cc;
    font-weight: 600;
}

.katalog-page-link:hover {
    background: #dceeff;
}

.katalog-page-current {
    background: #0077cc;
    color: #fff;
    font-weight: 700;
}

.home-articles {
    margin-top: 32px;
}

.home-articles h2 {
    margin-bottom: 16px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 20px;
    background: #fafafa;
}

.article-card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.article-card-title {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.article-card h3 a,
.article-card-title a {
    color: #0077cc;
    text-decoration: none;
}

.article-card h3 a:hover,
.article-card-title a:hover {
    text-decoration: underline;
}

.article-meta {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: #777;
}

.article-read-more {
    color: #0077cc;
    text-decoration: none;
    font-weight: 600;
}

.article-read-more:hover {
    text-decoration: underline;
}

.home-more {
    margin-top: 16px;
}

.home-more a {
    color: #0077cc;
}

.articles-count {
    color: #444;
    margin-bottom: 16px;
}

.article-detail .article-back {
    margin: 0 0 12px;
}

.article-detail .article-back a {
    color: #0077cc;
    text-decoration: none;
}

.article-detail .article-back a:hover {
    text-decoration: underline;
}

.article-detail h1 {
    margin-top: 0;
}

.article-detail .article-content.content-prose-block {
    margin-top: 8px;
}

.article-content {
    line-height: 1.65;
    max-width: 720px;
    text-align: justify;
    text-align-last: left;
}

.article-content h2,
.article-content h3,
.article-content ul,
.article-content ol,
.article-content img {
    text-align: left;
}

.article-content p,
.article-content li {
    text-align: justify;
    text-align-last: left;
}

.article-content p {
    margin: 0 0 1em;
}

.article-content strong {
    font-weight: 600;
}

.article-content a {
    color: #0077cc;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content h2 {
    font-size: 1.45rem;
    margin: 1.6em 0 0.6em;
}

.article-content h3 {
    font-size: 1.2rem;
    margin: 1.4em 0 0.5em;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.article-content li {
    margin-bottom: 0.35em;
}

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.2em 0;
    border-radius: 4px;
}

.faq-page {
    max-width: 760px;
    line-height: 1.65;
}

.faq-page h1 {
    margin-top: 0;
}

.faq-intro {
    margin-bottom: 1.75em;
    color: #445566;
    font-size: 1.05rem;
}

.faq-section {
    margin-bottom: 2.25em;
}

.faq-section > h2 {
    font-size: 1.35rem;
    margin: 0 0 1em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid #d8e3ef;
    color: #123a5c;
}

.faq-item {
    margin-bottom: 0.85em;
    padding: 16px 18px;
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(8, 50, 90, 0.04);
}

.faq-item h3 {
    font-size: 1.05rem;
    margin: 0 0 0.45em;
    color: #123a5c;
}

.faq-item p {
    margin: 0;
    color: #334455;
}

.faq-page a {
    color: #085fa3;
    font-weight: 600;
}

.faq-page a:hover {
    color: #074d85;
    text-decoration: underline;
}

.faq-cta {
    margin-top: 2em;
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbfe 0%, #f0f6fc 100%);
    border: 1px solid #d8e3ef;
}

.faq-cta h2 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
    color: #123a5c;
}

.faq-cta p {
    margin: 0 0 0.75em;
    color: #445566;
}

.faq-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-cta-links a {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #c5d6e8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.faq-cta-links a:hover {
    background: #f0f7fd;
    border-color: #085fa3;
}

.glossary-toc {
    margin-bottom: 2em;
    padding: 16px 18px;
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    background: #f8fbfe;
}

.glossary-toc-title {
    margin: 0 0 0.65em;
    font-size: 1rem;
    color: #123a5c;
}

.glossary-toc ul {
    margin: 0;
    padding-left: 1.2em;
}

.glossary-toc > ul > li {
    margin-bottom: 0.5em;
}

.glossary-toc ul ul {
    margin-top: 0.25em;
    font-size: 0.92rem;
}

.glossary-aliases,
.glossary-see-also {
    margin-top: 0.55em !important;
    font-size: 0.92rem;
    color: #556677 !important;
}

.glossary-aliases-label,
.glossary-see-also-label {
    font-weight: 600;
    color: #445566;
}

.glossary-term h3 {
    scroll-margin-top: 1rem;
}

.tools-page,
.calc-page {
    max-width: 760px;
    line-height: 1.65;
}

.tools-intro,
.calc-intro {
    color: #444;
    margin-bottom: 1.5em;
}

.calc-prefill-notice {
    margin: 0 0 1.25em;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #c5d9ec;
    background: #f0f7fd;
    color: #334455;
    font-size: 0.95rem;
    line-height: 1.5;
}

.calc-prefill-notice a {
    color: #085fa3;
    font-weight: 600;
}

.tools-grid {
    display: grid;
    gap: 16px;
}

.tools-section {
    margin-bottom: 2em;
}

.tools-section-title {
    margin: 0 0 0.75em;
    font-size: 1.05rem;
    font-weight: 700;
    color: #123a5c;
    letter-spacing: -0.01em;
}

.tool-card h2,
.tool-card h3 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
}

.tool-card h2 a,
.tool-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tool-card h2 a:hover,
.tool-card h3 a:hover {
    color: #0077cc;
}

.tool-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px 22px;
    background: #fff;
}

.tool-card-featured {
    border-color: #0077cc;
    background: #f5faff;
}

.tool-card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0077cc;
    margin-bottom: 8px;
}

.tool-card p {
    margin: 0 0 1em;
    color: #444;
}

.tool-card-btn {
    display: inline-block;
    background: #0077cc;
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.tool-card-btn:hover {
    background: #005fa3;
    text-decoration: none;
}

.tool-card-btn-secondary {
    background: #fff;
    color: #0077cc;
    border: 1px solid #0077cc;
}

.tool-card-btn-secondary:hover {
    background: #f0f7ff;
}

.tool-card-muted {
    background: #fafafa;
}

.calc-breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5em;
}

.calc-breadcrumb a {
    color: #0077cc;
}

.calc-form {
    display: grid;
    gap: 16px;
    margin-bottom: 2em;
    max-width: 420px;
}

.calc-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.calc-field input {
    width: 100%;
    max-width: 280px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.calc-hint {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: #666;
}

.calc-submit {
    justify-self: start;
    background: #0077cc;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.calc-submit:hover {
    background: #005fa3;
}

.calc-result {
    background: #f5faff;
    border: 1px solid #b8d9f5;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 2em;
}

.calc-result h2 {
    margin: 0 0 0.5em;
    font-size: 1.1rem;
}

.calc-result-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0077cc;
    margin: 0 0 0.35em;
}

.calc-result-detail {
    margin: 0;
    color: #444;
}

.calc-result-tip {
    margin: 0.75em 0 0;
    color: #085fa3;
    font-size: 0.9rem;
}

.calc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1.25em;
}

.calc-tab {
    padding: 8px 14px;
    border: 1px solid #c5d6e8;
    border-radius: 8px;
    background: #fff;
    color: #2a4258;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.calc-tab.is-active {
    background: #085fa3;
    border-color: #085fa3;
    color: #fff;
}

.calc-tab:hover:not(.is-active) {
    background: #f0f5fa;
}

.calc-input-unit-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    max-width: 280px;
}

.calc-input-unit-row input[type="number"] {
    flex: 1;
    min-width: 0;
    max-width: none;
}

.calc-input-unit-row select {
    flex-shrink: 0;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    color: #2a4258;
}

.calc-form-wide {
    max-width: 520px;
}

.calc-load-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-load-row {
    display: grid;
    grid-template-columns: 1fr 100px 28px;
    gap: 8px;
    align-items: center;
}

.calc-load-row label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2a4258;
}

.calc-load-row input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.calc-load-unit {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.calc-load-remove {
    width: 28px;
    height: 28px;
    border: 1px solid #d8e3ef;
    border-radius: 6px;
    background: #fff;
    color: #666;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.calc-load-remove:hover {
    background: #fef2f2;
    color: #c62828;
    border-color: #f5c6c6;
}

.calc-add-row {
    justify-self: start;
    padding: 8px 12px;
    border: 1px dashed #9ec5e8;
    border-radius: 6px;
    background: #f8fbfe;
    color: #085fa3;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.calc-add-row:hover {
    background: #eef6fc;
}

.calc-next-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.calc-next-link {
    display: inline-block;
    font-weight: 600;
    color: #085fa3;
    text-decoration: none;
}

.calc-next-link:hover {
    text-decoration: underline;
}

.calc-field-check {
    margin-top: 4px;
}

.calc-notes h2 {
    font-size: 1.15rem;
}

.calc-related {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #e2e8f0;
}

.calc-related h2 {
    font-size: 1.15rem;
    margin: 0 0 0.75em;
}

.calc-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.calc-related-list li {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fafbfc;
}

.calc-related-list a {
    display: block;
    font-weight: 600;
    color: #085fa3;
    text-decoration: none;
    margin-bottom: 4px;
}

.calc-related-list a:hover {
    text-decoration: underline;
}

.calc-related-list span {
    display: block;
    font-size: 0.9rem;
    color: #555;
}

.product-editorial {
    margin-top: 32px;
}

.product-editorial.content-prose-block {
    padding-top: 28px;
    padding-bottom: 28px;
}

.site-footer {
    background: #2a2a2a;
    color: #ddd;
    padding: 20px 24px;
    font-size: 0.9rem;
}

.site-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
}

.site-footer a {
    color: #9fd4ff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 700px) {
    .product-detail-body {
        flex-direction: column;
        max-width: 100%;
    }

    .product-detail .detail-box {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .product-detail-side {
        position: static;
        flex: 0 0 auto;
        max-width: 320px;
    }

    .product-detail-image {
        position: static;
        flex: 0 0 auto;
        max-width: 280px;
    }

    .product-detail .detail-dl {
        grid-template-columns: 1fr;
    }

    .product-detail .detail-dl dt {
        margin-top: 8px;
    }
}

/* —— Stránka Najdi baterii —— */

.compat-page {
    max-width: 720px;
    line-height: 1.65;
}

.compat-page .lead {
    color: #4a6278;
    margin: 0 0 1.5em;
    font-size: 1.02rem;
}

.compat-search-form {
    margin-bottom: 1.75em;
    padding: 18px 20px;
    border: 1px solid #d8e3ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbfe 0%, #f0f6fc 100%);
}

.compat-search-form > label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a4258;
}

.compat-search-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.compat-search-row input[type="search"] {
    flex: 1;
    min-width: 200px;
    padding: 11px 12px;
    border: 1px solid #c5d6e8;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    box-sizing: border-box;
}

.compat-search-row input[type="search"]:focus {
    outline: none;
    border-color: #085fa3;
    box-shadow: 0 0 0 3px rgba(8, 95, 163, 0.14);
}

.compat-search-row .btn-filter {
    flex-shrink: 0;
    padding: 11px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #0a6ebd 0%, #085fa3 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(8, 95, 163, 0.28);
}

.compat-search-row .btn-filter:hover {
    background: linear-gradient(180deg, #085fa3 0%, #074d85 100%);
}

.compat-page .panel {
    border: 1px solid #d8e3ef;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 1.25em;
    background: #fff;
    box-shadow: 0 1px 4px rgba(8, 50, 90, 0.05);
}

.compat-page .panel h2 {
    margin: 0 0 0.5em;
    font-size: 1.25rem;
    color: #123a5c;
}

.compat-page .panel h3 {
    margin: 1.25em 0 0.6em;
    font-size: 1.05rem;
    color: #2a4258;
}

.compat-page .panel p {
    margin: 0 0 0.75em;
    color: #444;
}

.compat-page .panel ol {
    margin: 0;
    padding-left: 1.35em;
    color: #444;
}

.compat-page .panel ol li + li {
    margin-top: 0.45em;
}

.compat-list-intro {
    margin: 0 0 0.75em;
    color: #556677;
    font-size: 0.92rem;
    line-height: 1.5;
}

.compat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.compat-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e8eef4;
    line-height: 1.5;
    color: #444;
}

.compat-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.compat-list a {
    color: #085fa3;
    text-decoration: none;
    font-weight: 600;
}

.compat-list a:hover {
    text-decoration: underline;
}

.compat-list--batteries .compat-battery-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e8eef4;
}

.compat-list--batteries .compat-battery-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.compat-battery-body {
    flex: 1 1 220px;
    min-width: 0;
}

.compat-battery-title {
    color: #085fa3;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.compat-battery-title:hover {
    text-decoration: underline;
}

.compat-battery-params {
    margin: 0.35em 0 0;
    font-size: 0.9rem;
    color: #4a5f73;
    line-height: 1.45;
}

.compat-battery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.compat-battery-detail-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #c5d6e8;
    background: #fff;
    color: #085fa3;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.compat-battery-detail-link:hover {
    background: #f0f7fd;
    border-color: #085fa3;
}

.compat-heureka-link {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    background: #085fa3;
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(8, 50, 90, 0.15);
    white-space: nowrap;
}

.compat-heureka-link:hover {
    background: #074d85;
    color: #fff !important;
    text-decoration: none;
}

.compat-note {
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
    color: #6a8094;
}

.compat-page .empty-state {
    color: #5a7086;
    font-style: italic;
}

.compat-page .empty-state a {
    color: #085fa3;
}

.compat-ups-meta {
    font-size: 0.92rem;
    color: #5a7086;
}

.compat-ups-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #085fa3;
    text-decoration: none;
}

.compat-ups-link:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.page-breadcrumb {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: #6a8094;
}

.page-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-breadcrumb li + li::before {
    content: "›";
    margin-right: 6px;
    color: #9ab0c4;
}

.page-breadcrumb a {
    color: #085fa3;
    text-decoration: none;
    font-weight: 500;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-breadcrumb [aria-current="page"] {
    color: #2a4258;
    font-weight: 600;
}

/* Najdi baterii — vylepšené UI */
.compat-page-head {
    margin-bottom: 1.25rem;
}

.compat-page-head h1 {
    margin-bottom: 0.35em;
}

.compat-search-hint {
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: #5a7086;
    line-height: 1.45;
}

.compat-result-count {
    margin: 0 0 0.75em;
    color: #5a7086;
    font-size: 0.95rem;
}

.compat-steps {
    margin: 0 0 1.25em;
    padding-left: 1.25rem;
    line-height: 1.55;
}

.compat-steps li {
    margin-bottom: 0.5em;
}

.compat-popular {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #d8e3ef;
}

.compat-popular-label {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a4258;
}

.compat-popular-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compat-popular-links a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef6fc;
    color: #085fa3;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #c5dff5;
}

.compat-popular-links a:hover {
    background: #dceeff;
    text-decoration: none;
}

.compat-footer-links {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: #5a7086;
}

.compat-footer-links a {
    color: #085fa3;
    font-weight: 500;
    text-decoration: none;
}

.compat-footer-links a:hover {
    text-decoration: underline;
}

.faq-item p + p {
    margin-top: 0.5em;
}

