@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Theme variables: colors, surfaces, typography and dimensions. */
:root {
    --primary-color: #f2b705;
    --primary-dark: #d9a300;
    --primary: #f2b705;
    --primary-gradient-start: #f8c62a;
    --primary-gradient-end: #f2b705;
    --primary-accent: #b58d00;
    --primary-card-bg: #f2b705;
    --primary-border: #d19d00;
    --primary-border-hover: #b58f00;
    --text-dark: #343434;
    --text-light: #575757;
    --text-strong: #2f3136;
    --text-strong-alt: #2e3136;
    --text-rich: #36383d;
    --text-body: #4a515a;
    --text-link-dark: #26282d;
    --text-muted-strong: #5f6f82;
    --text-muted: #6f7f91;
    --text-muted-soft: #8090a2;
    --text-muted-faint: #95a1ae;
    --text-subtitle: #656d7a;
    --text-placeholder: #aaa;
    --text-danger: #c11f28;
    --bg-light: #ededed;
    --white: #fff;
    --black: #000000;
    --surface-blue-light: #b1d6e6;
    --surface-gray-100: #f7f8f9;
    --surface-gray-150: #f3f3f3;
    --surface-gray-200: #f0f2f4;
    --surface-gray-250: #f0f0f0;
    --surface-gray-300: #ececec;
    --surface-gray-400: #e4e4e4;
    --surface-gray-500: #ccd2d9;
    --surface-gray-600: #ebebeb;
    --surface-overlay-white-92: rgba(255, 255, 255, 0.92);
    --border-color: #e0e0e0;
    --border-light: #cfd5da;
    --border-contrast: #1f2329;
    --border-subtle: rgba(0, 0, 0, 0.04);
    --border-weak: rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-card-hover: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-soft-lg: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-nav: -5px 0 15px rgba(0, 0, 0, 0.1);
    --shadow-floating: 0 2px 10px rgba(0, 0, 0, 0.2);
    --overlay-dark-50: rgba(0, 0, 0, 0.5);
    --link-color: #343434;
    --radius-hairline: 2px;
    --radius-xs: 7px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-2xl: 15px;
    --radius-3xl: 16px;
    --radius-4xl: 20px;
    --radius-banner: 1rem;
    --radius-pill: 50px;
    --radius-pill-full: 999px;
    --radius-round: 50%;
    --font-main: "Inter",Helvetica,sans-serif;
    --font-optical-sizing: auto;
    --max-width: 1200px;
    --text-controls: #303030;
    --surface-dark: #373737;
    --action-hover-color: #c92a2a;
    --text-controls-muted: #333;
    --link-accent: #c80000;
    --link-accent-hover: #9b1c1c;
    --primary-hover: #f6cb45;
    --border-neutral: #cccccc;
    --text-emphasis: #222;
    --catalog-header-hover: #f5c535;
    --focus-color: #b77f00;
    --border-on-dark: #b3b3b3;
    --text-on-dark-muted: #c1c1c1;
    --border-download: #dedede;
    --surface-download-hover: #fdf3cf;
    --subcategory-hover: #f7d05a;
    --surface-breadcrumb: #f4f4f4;
    --surface-specialist: #f2f4f4;
    --surface-card: #f2f2f2;
    --border-on-dark-subtle: #ffffff20;
    --search-highlight: rgba(242, 183, 5, 0.65);
    --hero-overlay: #edededf0;
    --text-category-toggle: #9d9e9e;
    --category-toggle-hover: #7bd9d3;
    --text-error: #7f1820;
    --text-success: #2f9e44;
    --text-success-strong: #1b6b2a;
    --surface-sector-end: #e9e9e9;
    --shadow-sector-color: #00000012;
    --surface-button-icon: #383838;
    --text-intro: #666;
    --surface-featured: #f1f1f1;
    --text-about: #555;
    --text-magazine-accent: #b7c1cb;
    --shadow-magazine-color: #0003;
    --border-search: #ffffff25;
    --shadow-search-color: #0002;
    --focus-download-color: #bc8c00;
    --surface-pdf: #f1f3f5;
    --overlay-pdf: #000a;
    --border-pdf: #ddd;
}

/* Reset a základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button,
body {
    font-family: var(--font-main);
    color: var(--text-dark);
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Animace (Skryto před načtením) */
.animate-up {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HLAVIČKA (HEADER) --- */
header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 120px;
    height: auto;
}

.logo-icon img {
    width: 100%;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: clamp(10px, 1.2vw, 24px) /* bylo gap: 30px; */;
}

nav ul li a {
    /* ZMĚNA: Sníženo o ~15% z (0.94rem, 2vw, 1.22rem) a upraven střed pro hladší průběh */
    font-size: clamp(0.8rem, 0.73rem + 0.3vw, 1rem);
    font-weight: 450;
    /* bylo 500 – opticky usetri par pixelu */
    letter-spacing: -0.02em;
    /* mirne zuzeni mezer mezi pismeny */
    white-space: nowrap;
    /* zabrani zalomeni napr O NAS na 2 radky */
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a:hover {
    color: var(--primary-dark);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 19px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: var(--radius-hairline);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- HERO SEKCE --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 300px;
    max-height: 960px;
    aspect-ratio: 4 / 1;
    overflow: hidden;
    background: var(--surface-gray-150);
    color: var(--white);
    display: flex;
    align-items: center;
}

.hero-slides,
.hero-slide,
.hero-slide-link,
.hero-picture {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-link {
    display: block;
}

.hero-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-home-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-buttons {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.hero-button-link {
    display: block;
    line-height: 0;
}

.hero-buttons img {
    width: clamp(250px, calc(113.26px + 13.81vw), 500px);
    max-width: 100%;
    cursor: pointer;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.hero-button-link:hover img,
.hero-button-link:focus-visible img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.25));
}

.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: clamp(34px, 2.9vw, 54px);
    height: clamp(34px, 2.9vw, 54px);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-carousel-arrow--prev {
    left: clamp(14px, 2vw, 34px);
}

.hero-carousel-arrow--next {
    right: clamp(14px, 2vw, 34px);
}

.hero-carousel-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-carousel-arrow:hover img,
.hero-carousel-arrow:focus-visible img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.hero-carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
}

.hero-carousel-indicator {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, calc(36px + 1.6vw), 68px);
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

.hero-carousel-indicator::before {
    content: "";
    width: clamp(36px, 2.8vw, 52px);
    height: 2px;
    border-radius: var(--radius-hairline);
    background: var(--text-category-toggle);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-indicator.is-active::before {
    background: var(--link-accent);
}

.hero-carousel-indicator:hover::before,
.hero-carousel-indicator:focus-visible::before {
    transform: scaleY(1.6);
}

.hero-carousel-indicator:focus-visible {
    outline: 2px solid var(--link-accent);
    outline-offset: 2px;
}

@media ( max-width : 992px) {
    .hero {
        height: clamp(300px, calc(204.8px + 29.76vw), 500px);
        max-height: none;
        aspect-ratio: auto;
    }

    .hero-picture img {
        object-position: 25% center;
    }

    .hero-buttons {
        display: none;
    }

    .hero-carousel-arrow {
        width: clamp(36px, 8vw, 48px);
        height: clamp(36px, 8vw, 48px);
    }

    .hero-carousel-indicators {
        bottom: 0;
    }

    .hero-carousel-indicator {
        width: 50px;
    }

    .hero-carousel-indicator::before {
        width: 34px;
    }

}

@media ( max-width : 767px) {
    .hero-home {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        align-items: flex-start;
    }

    .hero-home .hero-slides {
        position: relative;
        inset: auto;
        width: 100%;
    }

    .hero-home .hero-slide {
        inset: 0;
    }

    .hero-home .hero-slide.is-active {
        position: relative;
    }

    .hero-home .hero-slide.is-active:not(.hero-slide--has-mobile) {
        min-height: clamp(250px, calc(113.26px + 13.81vw), 500px);
    }

    .hero-home .hero-slide.is-active.hero-slide--has-mobile .hero-slide-link,
    .hero-home .hero-slide.is-active.hero-slide--has-mobile .hero-picture {
        position: static;
        display: block;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .hero-home .hero-slide--has-mobile .hero-picture img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: left top;
    }

}

@media ( max-width : 576px) {
    .hero-picture img {
        object-position: 20% center;
    }

}

/* --- SORTIMENT --- */
.sortiment {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.section-title {
    /* ZMĚNA: Sníženo o ~15% z (2rem, 3vw, 2.6rem) */
    margin-bottom: 40px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: var(--radius-round);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.card:hover::before {
    width: 1000px;
    height: 1000px;
}

.card h3 {
    /* ZMĚNA: Sníženo o ~15% z (1.13rem, 2vw, 1.46rem) */
    font-size: clamp(0.96rem, 1.5vw, 1.24rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    line-height: 1.15;
}

.card p {
    /* ZMĚNA: Sníženo o ~15% z (0.88rem, 1.5vw, 1.14rem) */
    font-size: clamp(0.75rem, 1.2vw, 0.97rem);
    color: var(--text-light);
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.btn-arrow {
    width: 30px;
    height: 30px;
    background: var(--text-dark);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: 15px;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
}

.card:hover .btn-arrow {
    background: var(--primary-dark);
}

.btn-outline {
    display: table;
    margin: 0 auto;
    padding: 12px 25px;
    border: 1px solid var(--text-dark);
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* --- AKTUÁLNĚ --- */
.aktualne {
    background-color: var(--primary-color) !important;
    padding: 80px 0;
}

.news-banner {
    background: var(--white);
    border-radius: var(--radius-banner);
    padding: 2rem 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft-lg);
}

.news-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.news-date {
    font-weight: 700;
    white-space: nowrap;
}

.news-divider {
    align-self: stretch;
    border-left: solid 1px var(--border-color);
}

.news-copy {
    min-width: 0;
}

.news-summary > :first-child {
    margin-top: 0;
}

.news-summary > :last-child {
    margin-bottom: 0;
}

.news-banner .btn-dark {
    background: var(--text-dark);
    color: var(--white);
    padding: 0.5rem 2rem;
    border-radius: var(--radius-pill);
    /* ZMĚNA: Sníženo o ~15% z (0.88rem, 1.5vw, 1.14rem) */
    font-size: clamp(0.75rem, 1.2vw, 0.97rem);
    white-space: nowrap;
    height: auto;
}

.content-feed-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-category-subcategories {
    padding-top: clamp(20px, 4vw, 45px);
}

.article-category-article {
    align-items: flex-start;
}

.article-category-article-content {
    flex: 1 1 auto;
}

.article-category-article-copy h3 {
    margin: 0 0 0.6rem;
    color: var(--text-dark);
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.2;
}

.article-category-article-copy p {
    margin: 0;
    color: var(--text-body);
    font-size: clamp(0.85rem, 1.25vw, 1rem);
    line-height: 1.45;
}

.article-category-articles {
    background: var(--surface-gray-200);
}

.article-category-article-grid {
    align-items: stretch;
}

.article-category-article-card {
    min-height: 210px;
}

.article-category-article-date {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: var(--primary-card-bg);
    color: var(--text-link-dark);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.article-category-article-card-bottom {
    min-height: 28px;
}

.article-category-article-link {
    margin-top: 10px;
}

/* --- SPECIÁLNÍ NABÍDKY --- */
.specialni-nabidky {
    padding: 80px 0;
    background: var(--bg-light);
}

.offer-card {
    background: var(--surface-blue-light);
    border-radius: var(--radius-2xl);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.offer-tag {
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: var(--radius-4xl);
    /* ZMĚNA: Sníženo o ~15% z (0.75rem, 1.2vw, 0.98rem) */
    font-size: clamp(0.64rem, 1vw, 0.83rem);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.offer-text {
    max-width: 500px;
}

.offer-text h3 {
    /* ZMĚNA: Sníženo o ~15% z (2rem, 3vw, 2.6rem) */
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    margin-bottom: 10px;
    line-height: 1.15;
}

.offer-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.offer-image {
    width: 40%;
    height: 40%;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-placeholder);
    overflow: hidden;
}

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

/* --- PATIČKA --- */
footer {
    background-color: var(--primary-color);
    padding: 60px 0 20px 0;
    overflow: hidden;
}

.footer-top, .footer-middle, .footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-nav ul {
    /* ZMĚNA: Sníženo o ~15% z (0.88rem, 1.5vw, 1.14rem) */
    font-size: clamp(0.75rem, 1.2vw, 0.97rem);
}

.footer-contact p {
    /* ZMĚNA: Sníženo o ~15% z (0.88rem, 1.5vw, 1.14rem) */
    font-size: clamp(0.75rem, 1.2vw, 0.97rem);
    margin-bottom: 5px;
}

.newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter input {
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: none;
    width: 250px;
    max-width: 100%;
    outline: none;
}

.badge-25 {
    width: 200px;
    height: 200px;
    min-width: 100px;
    min-height: 100px;
    border-radius: var(--radius-round);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* ZMĚNA: Sníženo o ~15% z (1.5rem, 2vw, 1.95rem) */
    font-size: clamp(1.28rem, 1.7vw, 1.66rem);
    font-weight: 700;
    color: var(--text-dark);
    overflow: hidden;
}

.badge-25 img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-round);
}

.badge-25 span {
    /* ZMĚNA: Sníženo o ~15% z (0.75rem, 1.2vw, 0.98rem) */
    font-size: clamp(0.64rem, 1vw, 0.83rem);
    font-weight: 400;
}

.footer-bottom {
    border-top: 1px solid var(--border-weak);
    padding-top: 20px;
    margin-bottom: 0;
    /* ZMĚNA: Sníženo o ~15% z (0.75rem, 1.2vw, 0.98rem) */
    font-size: clamp(0.64rem, 1vw, 0.83rem);
    color: var(--text-dark);
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

/* Responzivita */
@media ( max-width : 768px) {
    /* Hamburger - zobrazit na mobilu */
    .hamburger {
        display: flex;
        order: 10;
    }

    /* Mobile menu */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-nav);
        padding: 100px 30px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .main-nav ul li a {
        /* ZMĚNA: Sníženo z 1.2rem o 15% na 1.02rem, aby se zabránilo skokovému zvětšení */
        font-size: 1.02rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--overlay-dark-50);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .news-banner, .offer-card {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .footer-top, .footer-middle {
        flex-direction: column;
        gap: 30px;
        text-align: left;
        align-items: center;
    }

}

/* Back to Top Button - pouze na mobilu */
@media ( max-width : 768px) {
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: var(--black);
        border-radius: var(--radius-round);
        align-items: center;
        justify-content: center;
        color: var(--white);
        text-decoration: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
        box-shadow: var(--shadow-floating);
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .back-to-top svg {
        width: 24px;
        height: 24px;
    }

}

/* --- HERO PRO PODSTRÁNKY --- */
.hero-about-full {
    position: relative;
    width: 100%;
    height: 25vh;
    min-height: 150px;
    max-height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.hero-about-bg {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-about-overlay {
    display: none;
}

@media ( max-width : 768px) {
    .hero-about-full {
        height: 20vh;
        min-height: 150px;
    }

}

/* --- OBSAH STRÁNKY O NÁS --- */
.about-content {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-title {
    /* ZMĚNA: Sníženo o ~15% z (2rem, 4vw, 3rem) */
    font-size: clamp(1.7rem, 3.4vw, 2.55rem);
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.5vw, 1.15rem) */
    font-size: clamp(0.9rem, 1.3vw, 1.01rem);
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.about-text h2 {
    margin-bottom: 0.5rem;
    margin-top: 3rem;
    color: var(--text-dark);
}

.about-text .about-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: var(--radius-sm);
}

.about-text li {
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.5vw, 1.15rem) */
    font-size: clamp(0.85rem, 1.2vw, 0.98rem);
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-dark);
    padding-left: 20px;
    position: relative;
}

.about-text li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

.list-box {
    background: var(--surface-gray-600);
    padding: 25px;
    margin: 20px 0;
    border-radius: var(--radius-sm);
    width: 100%;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.contact-item {
    background: var(--primary-color);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
}

.contact-item h3 {
    /* ZMĚNA: Sníženo o ~15% z (1.1rem, 1.5vw, 1.3rem) */
    font-size: clamp(0.93rem, 1.2vw, 1.1rem);
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item p {
    /* ZMĚNA: Sníženo o ~15% z (0.95rem, 1.3vw, 1.05rem) */
    font-size: clamp(0.8rem, 1.1vw, 0.89rem);
    line-height: 1.6;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.countries-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.countries-list li {
    /* ZMĚNA: Sníženo o ~15% z (0.95rem, 1.5vw, 1.1rem) */
    font-size: clamp(0.85rem, 1.3vw, 1.01rem);
    padding: 10px 15px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    position: relative;
    padding-left: 30px;
}

.countries-list li::before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: var(--primary-dark);
    font-weight: bold;
}

@media ( max-width : 768px) {
    .about-content {
        padding: 50px 0;
    }

    .countries-list {
        grid-template-columns: 1fr;
    }

}

/* --- KATALOG DETAIL --- */
.catalog-detail-hero {
    background: linear-gradient(90deg, var(--primary-gradient-start) 0%,
    var(--primary-gradient-end) 100%);
    padding: 100px 0 78px;
}

.catalog-detail-hero-inner {
    max-width: var(--max-width);
}

.catalog-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 42px;
    align-items: start;
}

.catalog-detail-hero-main {
    max-width: 920px;
}

.catalog-detail-hero-side {
    display: flex;
    justify-content: flex-end;
}

.catalog-detail-hero-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 120px;
    padding: 18px 22px;
    border-radius: var(--radius-4xl);
    background: var(--white);
}

.catalog-detail-hero h1 {
    /* ZMĚNA: Sníženo o ~15% z (2.5rem, 5vw, 4.8rem) */
    font-size: clamp(2.1rem, 4.0vw, 3.1rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.catalog-detail-hero p {
    margin: 0 0 8px;
    /* ZMĚNA: Sníženo o ~15% z (1.12rem, 2vw, 1.5rem) */
    font-size: clamp(0.9rem, 1.5vw, 1.07rem);
    line-height: 1.2;
    color: var(--text-muted-strong);
}

.catalog-detail-hero p a {
    color: var(--text-dark);
    font-weight: 400;
}

.catalog-detail-hero-manufacturer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 8px;
}

.catalog-detail-hero-manufacturer-logo {
    display: block;
    max-height: 78px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.catalog-detail-manufacturer-logo-wrap {
    margin: 0 0 28px;
}

.catalog-detail-manufacturer-logo {
    display: block;
    width: auto;
    max-width: min(100%, 260px);
    max-height: 110px;
    object-fit: contain;
}

.catalog-detail-hero-link-wrap {
    margin-top: 62px;
}

.catalog-detail-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    /* ZMĚNA: Sníženo o ~15% z (1.2rem, 2vw, 2rem) */
    font-size: clamp(1.02rem, 1.7vw, 1.7rem);
    font-weight: 600;
    color: var(--text-dark);
}

.catalog-detail-hero-link span {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
}

.catalog-detail-breadcrumbs {
    border-top: 1px solid var(--border-subtle);
}

.catalog-detail-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 15px 0;
}

.catalog-detail-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--text-strong);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.4vw, 1.18rem) */
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.2;
}

.catalog-detail-breadcrumbs li+li::before {
    content: "|";
    margin: 0 8px;
}

.catalog-detail-breadcrumbs a {
    color: var(--text-strong);
}

.catalog-detail-breadcrumbs li[aria-current="page"] {
    color: var(--text-muted-strong);
}

.catalog-detail-breadcrumb-home {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
}

.catalog-detail-content {
    background: var(--white);
    /* alt: var(--surface-gray-150) */
    padding: 20px 0 100px;
}

.catalog-detail-body h2 {
    /* ZMĚNA: Sníženo o ~15% z (2.2rem, 4.5vw, 4rem) */
    font-size: clamp(1.87rem, 3.8vw, 3.4rem);
    line-height: 1.08;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 26px;
}

.catalog-detail-lead {
    /* ZMĚNA: Sníženo o ~15% z (1.55rem, 2.5vw, 2.2rem) */
    font-size: clamp(1.32rem, 2.1vw, 1.87rem);
    line-height: 1.24;
    color: var(--text-subtitle);
    font-weight: 600;
    max-width: 1240px;
    margin: 0 0 30px;
}

.catalog-detail-image {
    margin: 0 0 38px;
}

.catalog-detail-image img {
    width: auto;
    max-width: min(100%, 640px);
    height: auto;
    display: block;
}

.catalog-detail-richtext {
    color: var(--text-rich);
    /* ZMĚNA: Sníženo o ~15% z (1.12rem, 1.7vw, 1.48rem) */
    font-size: clamp(0.95rem, 1.4vw, 1.26rem);
    line-height: 1.34;
    letter-spacing: -0.011em;
    max-width: 1260px;
}

.catalog-detail-richtext h2, .catalog-detail-richtext h3,
    .catalog-detail-richtext h4, .text-content h1, .text-content h2,
    .text-content h3, .text-content h4, .text-content h5 {
    font-weight: 600;
    color: var(--text-dark);
}

.catalog-detail-richtext ul, .text-content ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.catalog-detail-richtext li, .text-content li {
    position: relative;
    padding-left: 21px;
}

.catalog-detail-richtext li::before, .text-content li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--primary-accent);
    position: absolute;
    left: 0;
}

.catalog-detail-richtext>*:last-child {
    margin-bottom: 0;
}

.catalog-detail-richtext p {
    margin: 0 0 26px;
}

.catalog-detail-richtext h2, .catalog-detail-richtext h3,
    .catalog-detail-richtext h4 {
    margin: 52px 0 24px;
    /* ZMĚNA: Sníženo o ~15% z (2rem, 3.2vw, 3rem) */
    font-size: clamp(1.7rem, 2.7vw, 2.55rem);
    line-height: 1.1;
}

.catalog-detail-richtext li {
    margin-bottom: 11px;
}

.catalog-detail-richtext li::before {
    top: 0.6em;
    transform: translateY(-20%);
}

.catalog-detail-richtext img {
    /*    max-width: min(100%, 340px);*/
    max-width: 100%;
    height: auto;
    display: block;
    margin: 22px 0 24px;
}

.catalog-detail-part {
    margin-top: 24px;
}

.catalog-detail-part h3 {
    /* ZMĚNA: Sníženo o ~15% z (2rem, 3.2vw, 3rem) */
    font-size: clamp(1.6rem, 2.45vw, 2.4rem);
    line-height: 1.1;
    font-weight: 500;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.catalog-detail-gallery {
    margin-top: 52px;
    padding: 34px;
    background: var(--surface-gray-150);
    border-radius: var(--radius-4xl);
}

.catalog-detail-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.catalog-detail-gallery-header h3 {
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.55rem);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 500;
}

.catalog-detail-gallery-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.06em;
    flex: 0 0 auto;
}

.catalog-detail-gallery-groups {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.catalog-detail-gallery-copy {
    max-width: 760px;
    margin-bottom: 18px;
}

.catalog-detail-gallery-copy h4 {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    color: var(--text-dark);
    font-weight: 600;
}

.catalog-detail-gallery-copy p {
    margin: 0;
    color: var(--text-body);
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    line-height: 1.45;
}

.catalog-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.catalog-detail-gallery-figure {
    margin: 0;
}

.catalog-detail-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-3xl);
    background: var(--surface-gray-300);
    box-shadow: var(--shadow-card);
}

.catalog-detail-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
    margin: 0;
}

.catalog-detail-gallery-item:hover img {
    transform: scale(1.045);
}

.catalog-detail-gallery-caption {
    margin: 10px 4px 0;
    color: var(--text-body);
    font-size: clamp(0.88rem, 1vw, 0.98rem);
    line-height: 1.35;
    text-align: center;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 44px);
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 18, 22, 0.84);
    cursor: zoom-out;
}

.gallery-lightbox__frame {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__figure {
    margin: 0;
    max-width: 100%;
}

.gallery-lightbox__image {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-4xl);
    background: var(--white);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox__caption {
    margin-top: 14px;
    color: var(--white);
    text-align: center;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.35;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
    position: absolute;
    z-index: 2;
    border: 0;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.gallery-lightbox__close {
    background: var(--text-strong);
    color: var(--white);
    box-shadow: var(--shadow-floating);
}

.gallery-lightbox__nav {
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: var(--shadow-floating);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
    background: var(--text-strong);
    transform: scale(1.06);
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.28));
}

.gallery-lightbox__close {
    top: -18px;
    right: -18px;
    width: 46px;
    height: 46px;
}

.gallery-lightbox__close::before {
    content: "×";
    display: block;
    font-size: 2rem;
    line-height: 46px;
}

.gallery-lightbox__nav {
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
    transform: translateY(-50%) scale(1.06);
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.28));
}

.gallery-lightbox__nav::before {
    content: "➔";
    display: block;
}

.gallery-lightbox__nav--prev {
    left: -72px;
}

.gallery-lightbox__nav--prev::before {
    transform: rotate(180deg);
}

.gallery-lightbox__nav--next {
    right: -72px;
}

.catalog-detail-downloads {
    background: var(--surface-gray-400);
    padding: 70px 0 96px;
}

.catalog-detail-downloads-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.catalog-detail-downloads-header h3 {
    margin: 0;
    /* ZMĚNA: Sníženo o ~15% z (2rem, 3vw, 3rem) */
    font-size: clamp(1.7rem, 2.5vw, 2.55rem);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 500;
}

.catalog-detail-downloads-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-round);
    background: var(--surface-gray-500);
    color: var(--surface-gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    flex: 0 0 auto;
}

.catalog-detail-download-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-detail-download-item {
    background: var(--surface-gray-300);
    border-radius: var(--radius-3xl);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px 16px 16px 20px;
    transition: background-color 0.2s ease;
}

.catalog-detail-download-file-icon {
    min-width: 42px;
    height: 32px;
    border: 2px solid var(--border-contrast);
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-danger);
    background: var(--white);
    text-transform: uppercase;
}

.catalog-detail-download-copy {
    min-width: 0;
}

.catalog-detail-download-title {
    display: block;
    color: var(--text-strong-alt);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.35vw, 1.32rem) */
    font-size: clamp(0.85rem, 1.15vw, 1.12rem);
    line-height: 1.2;
    font-weight: 600;
}

.catalog-detail-download-description {
    display: block;
    max-width: 68ch;
    margin-top: 0.4rem;
    color: var(--text-muted-soft);
    font-size: clamp(0.76rem, 0.9vw, 0.92rem);
    font-weight: 400;
    line-height: 1.45;
}

.catalog-detail-download-size {
    color: var(--text-muted-soft);
    /* ZMĚNA: Sníženo o ~15% z (0.95rem, 1.2vw, 1.2rem) */
    font-size: clamp(0.81rem, 1vw, 1.02rem);
    white-space: nowrap;
}

.catalog-detail-download-action {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

@media ( max-width : 1024px) {
    .catalog-detail-download-item {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "icon title action" "icon size action";
    }

    .catalog-detail-download-file-icon {
        grid-area: icon;
    }

    .catalog-detail-download-copy {
        grid-area: title;
    }

    .catalog-detail-download-size {
        grid-area: size;
        margin-top: 2px;
    }

    .catalog-detail-download-action {
        grid-area: action;
    }

}

@media ( max-width : 768px) {
    .catalog-detail-hero {
        padding: 66px 0 52px;
    }

    .catalog-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-detail-hero-side {
        justify-content: flex-start;
    }

    .catalog-detail-hero-logo-box {
        min-width: 0;
        min-height: 0;
        width: fit-content;
        padding: 12px 16px;
        border-radius: var(--radius-xl);
    }

    .catalog-detail-hero-link-wrap {
        margin-top: 38px;
    }

    .catalog-detail-hero-manufacturer {
        align-items: flex-start;
        gap: 10px;
    }

    .catalog-detail-hero-manufacturer-logo {
        max-height: 52px;
        max-width: 130px;
    }

    .catalog-detail-breadcrumbs ol {
        padding: 11px 0;
    }

    .catalog-detail-breadcrumbs li {
        /* ZMĚNA: Sníženo z 1rem o 15% na 0.85rem */
        font-size: 0.85rem;
    }

    .catalog-detail-breadcrumbs li+li::before {
        margin: 0 10px;
    }

    .catalog-detail-content {
        padding: 10px 0 80px;
    }

    .catalog-detail-richtext li {
        padding-left: 17px;
    }

    .catalog-detail-richtext li::before {
        width: 8px;
        height: 8px;
        top: 0.53em;
    }

    .catalog-detail-downloads {
        padding: 50px 0 64px;
    }

    .catalog-detail-downloads-icon {
        width: 44px;
        height: 44px;
    }

    .catalog-detail-gallery {
        padding: 24px 18px;
        margin-top: 42px;
    }

    .catalog-detail-gallery-icon {
        width: 44px;
        height: 44px;
    }

    .catalog-detail-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox {
        padding: 16px;
    }

    .gallery-lightbox__image {
        max-height: calc(100vh - 150px);
        border-radius: var(--radius-xl);
    }

    .gallery-lightbox__close {
        top: 10px;
        right: 10px;
    }

    .gallery-lightbox__nav {
        top: auto;
        bottom: -64px;
        transform: none;
    }

    .gallery-lightbox__nav:hover,
    .gallery-lightbox__nav:focus-visible {
        transform: scale(1.06);
    }

    .gallery-lightbox__nav--prev {
        left: calc(50% - 64px);
    }

    .gallery-lightbox__nav--next {
        right: calc(50% - 64px);
    }

}

/* --- KATALOG VYROBCI --- */
.catalog-manufacturers-hero {
    /* ZMĚNA: Sníženo o ~15% z (78px, 14vw, 120px) pro plynulost */
    height: clamp(66px, 12vw, 102px);
    background-image: url("/assets/site/hero.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.catalog-manufacturers-page {
    background: var(--white);
    padding: 58px 0 50px;
}

.catalog-manufacturers-title {
    /* ZMĚNA: Sníženo o ~15% z (2.3rem, 4vw, 4.2rem) */
    font-size: clamp(1.95rem, 3.4vw, 3.57rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--text-dark);
    margin: 0 0 28px;
}

.catalog-manufacturers-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.catalog-manufacturers-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: min(100%, 340px);
    padding: 12px 12px 12px 22px;
    border-radius: var(--radius-pill-full);
    border: 1px solid var(--primary-border);
    background: var(--primary-card-bg);
    color: var(--text-link-dark);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.3vw, 1.35rem) */
    font-size: clamp(0.85rem, 1.1vw, 1.15rem);
    line-height: 1.1;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-manufacturers-pill::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: var(--radius-round);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.catalog-manufacturers-pill:hover {
    transform: translateY(-5px);
    border-color: var(--primary-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.catalog-manufacturers-pill:hover::before {
    width: 1000px;
    height: 1000px;
}

.catalog-manufacturers-pill>span {
    position: relative;
    z-index: 1;
}

.catalog-manufacturers-pill-arrow {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
    flex: 0 0 auto;
}

.catalog-manufacturers-groups {
    background: var(--surface-gray-200);
    padding: 54px 0 90px;
}

.catalog-manufacturers-group+.catalog-manufacturers-group {
    margin-top: 54px;
}

.catalog-manufacturers-group h2 {
    margin: 0 0 28px;
    /* ZMĚNA: Sníženo o ~15% z (2rem, 3.3vw, 3rem) */
    font-size: clamp(1.7rem, 2.8vw, 2.55rem);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 600;
}

.catalog-manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.catalog-manufacturer-card {
    background: var(--white);
    /* border: 1px solid var(--border-light); */
    /* border-radius: var(--radius-xl); */
    padding: 20px 20px 14px;
    min-height: 238px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.catalog-manufacturer-card h3 {
    margin: 0 0 8px;
    /* ZMĚNA: Sníženo o ~15% z (1.05rem, 1.4vw, 1.65rem) */
    font-size: clamp(0.89rem, 1.2vw, 1.4rem);
    line-height: 1.15;
    font-weight: 600;
    color: var(--text-strong);
    position: relative;
    z-index: 1;
}

.catalog-manufacturer-card p {
    margin: 0;
    color: var(--text-body);
    /* ZMĚNA: Sníženo o ~15% z (0.92rem, 1.05vw, 1.2rem) */
    font-size: clamp(0.85rem, 0.67rem + 0.45vw, 1.02rem);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.catalog-manufacturer-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    position: relative;
    z-index: 1;
}

.catalog-manufacturer-logo {
    margin: 0;
    max-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--white);
    border-radius: var(--radius-xl);
    background: var(--surface-overlay-white-92);
}

.catalog-manufacturer-logo img {
    display: block;
    max-width: 100%;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.catalog-manufacturer-link {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    line-height: 1;
    flex: 0 0 auto;
    align-self: flex-end;
}

.catalog-manufacturer-card.is-placeholder h3, .catalog-manufacturer-card.is-placeholder p,
    .catalog-manufacturer-card.is-placeholder .catalog-manufacturer-logo {
    display: none;
}

@media ( max-width : 1024px) {
    .catalog-manufacturers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media ( max-width : 768px) {
    .catalog-manufacturers-page {
        padding: 38px 0 32px;
    }

    .catalog-manufacturers-title {
        margin-bottom: 18px;
    }

    .catalog-manufacturers-pill {
        min-width: 0;
        width: 100%;
        padding: 10px 10px 10px 16px;
    }

    .catalog-manufacturers-pills {
        gap: 10px;
    }

    .catalog-manufacturers-groups {
        padding: 34px 0 58px;
    }

    .catalog-manufacturers-group+.catalog-manufacturers-group {
        margin-top: 38px;
    }

    .catalog-manufacturers-group h2 {
        margin-bottom: 18px;
    }

    .catalog-manufacturers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .catalog-manufacturer-card {
        min-height: 184px;
        padding: 16px 14px 12px;
    }

}

img[src^="/public/old-data/images/ico-"] {
    margin: 0;
    display: inline-block;
}

.mb-3, .my-3 {
    margin-bottom: 2rem;
}

.mt-3, .my-3 {
    margin-top: 2rem;
}

.mx-1 {
    margin-left: .5rem;
    margin-right: .5rem;
}

.text-center {
    text-align: center;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.news-banner:last-child {
    margin-bottom: 0;
}

.pagination a {
    font-weight: bold;
}

.pagination a.active {
    color: var(--primary-color);
    cursor: default;
    pointer-events: none;
}

.page-hero {
    max-width: 100%;
    overflow: hidden;
}

.page-hero>img {
    display: block;
}

.catalog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: clamp(10px, 2vw + 5px, 25px);
    margin-bottom: clamp(10px, 2vw + 5px, 25px);
    flex-wrap: wrap;
}

.catalog-section-intro h2 {
    /* ZMĚNA: Sníženo o ~15% z (1.5rem, 1rem + 2vw, 2rem) */
    font-size: clamp(1.28rem, 0.85rem + 1.7vw, 1.7rem);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.1;
}

.catalog-section-intro p {
    color: var(--text-light);
    /* ZMĚNA: Sníženo o ~15% z (0.9rem, 0.8rem + 0.5vw, 1rem) */
    font-size: clamp(0.76rem, 0.68rem + 0.4vw, 0.85rem);
    max-width: 42rem;
}

.catalog-expand-all {
    background-color: transparent;
    border: 2px solid var(--primary-card-bg);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-main);
    /* ZMĚNA: Sníženo o ~15% z (0.9rem, 0.7rem + 0.8vw, 1rem) */
    font-size: clamp(0.76rem, 0.6rem + 0.68vw, 0.85rem);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.catalog-expand-all:hover {
    background-color: var(--primary-card-bg);
}

.catalog-expand-all.is-open {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

.catalog-expand-all svg {
    width: 1.2em;
    height: 1.2em;
    transition: transform 0.4s ease;
}

.catalog-expand-all.is-open svg {
    transform: rotate(180deg);
}

@media ( max-width : 768px) {
    .catalog-expand-all {
        display: none;
    }

}

.catalog-nav-columns {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.catalog-nav-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.catalog-nav-item {
    position: relative;
    background-color: var(--primary-card-bg);
    border-radius: var(--radius-pill);
    transition: background-color 0.4s ease, border-radius 0.4s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.catalog-nav-item.is-expanded {
    z-index: 10;
    background-color: var(--white);
    border-radius: var(--radius-4xl);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

.catalog-nav-header,
.catalog-subcategory-button {
    padding: clamp(9px, 1vw, 12px) clamp(15px, 2vw + 10px, 25px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    /* ZMĚNA: Sníženo o ~15% z (1rem, 0.5rem + 1.5vw, 1.3rem) */
    font-size: clamp(0.85rem, 0.42rem + 1.28vw, 1.1rem);
    position: relative;
    z-index: 2;
    border-radius: var(--radius-pill);
    color: var(--text-dark);
    text-align: left;
    transition: all 0.4s ease;
    isolation: isolate;
}

.catalog-nav-header {
    width: 100%;
    border: 0;
    appearance: none;
    font-family: inherit;
    text-decoration: none;
    cursor: default;
}

.catalog-nav-header[data-catalog-trigger],
.catalog-nav-header--link {
    cursor: pointer;
}

.catalog-nav-header--split {
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.catalog-nav-link {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
    text-decoration: none;
}

.catalog-nav-toggle {
    border: 0;
    background: transparent;
    padding: 0 0 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
    min-width: calc(1.8em + 15px);
    min-height: 1.8em;
}

.catalog-nav-toggle--link {
    text-decoration: none;
}

.catalog-nav-header--split .catalog-nav-link,
.catalog-nav-header--split .catalog-nav-toggle {
    align-self: stretch;
    padding: clamp(8px, 1vw, 11px) clamp(15px, 2vw + 10px, 25px);
}

.catalog-nav-header--split .catalog-nav-link {
    justify-content: flex-start;
}

.catalog-nav-header--split .catalog-nav-toggle {
    min-width: 4.8rem;
    padding-left: clamp(15px, 2vw + 10px, 25px);
}

.catalog-nav-item.is-expanded .catalog-nav-header {
    background-color: var(--primary-card-bg);
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.02);
}

.catalog-nav-item:not(.is-expanded) .catalog-nav-header::before,
.catalog-subcategory-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.25);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
    border-radius: var(--radius-pill);
}

.catalog-nav-item:not(.is-expanded) .catalog-nav-header:hover::before,
.catalog-nav-item:not(.is-expanded) .catalog-nav-header:focus-within::before,
.catalog-subcategory-button:hover::before,
.catalog-subcategory-button:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left;
}

.catalog-nav-link:focus-visible,
.catalog-nav-toggle:focus-visible,
.catalog-subcategory-button:focus-visible {
    outline: 2px solid var(--text-dark);
    outline-offset: 3px;
}

.catalog-nav-icon,
.catalog-subcategory-button-icon {
    /* ZMĚNA: Sníženo o ~15% z (1rem, 0.5rem + 1.5vw, 1.3rem) */
    font-size: clamp(0.85rem, 0.42rem + 1.28vw, 1.1rem);
    width: 1.8em;
    height: 1.8em;
    background-color: var(--text-dark);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background-color 0.25s ease;
    flex-shrink: 0;
    margin-left: 0;
}

.catalog-nav-icon svg,
.catalog-subcategory-button-icon svg {
    width: 0.9em;
    height: 0.9em;
}

.catalog-nav-item.is-expanded .catalog-nav-icon--expandable {
    transform: rotate(180deg);
}

.catalog-nav-body-wrapper {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    z-index: 1;
}

.catalog-nav-item.is-expanded .catalog-nav-body-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.catalog-nav-body {
    overflow: hidden;
}

.catalog-nav-columns.catalog-nav-columns--expanded .catalog-nav-item {
    background-color: var(--white);
    border-radius: var(--radius-4xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.catalog-nav-columns.catalog-nav-columns--expanded .catalog-nav-item .catalog-nav-header {
    background-color: var(--primary-card-bg);
    box-shadow: none;
}

.catalog-nav-columns.catalog-nav-columns--expanded .catalog-nav-body-wrapper {
    position: static;
    background-color: transparent;
    box-shadow: none;
}

.catalog-nav-list {
    list-style: none;
    padding: 10px 15px 20px;
}

.catalog-nav-list li {
    margin-bottom: 4px;
}

.catalog-nav-list li:last-child {
    margin-bottom: 0;
}

.catalog-nav-list a {
    position: relative;
    /* ZMĚNA: Sníženo o ~15% z (0.9rem, 0.7rem + 0.6vw, 0.95rem) */
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-nav-list a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-card-bg);
    border-radius: var(--radius-hairline);
    transition: background-color 0.3s ease;
}

.catalog-nav-list a::after {
    content: "";
    width: 1.2em;
    height: 1.2em;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 12h14'/%3e%3cpath d='m12 5 7 7-7 7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s ease;
}

.catalog-nav-list a:hover,
.catalog-nav-list a:focus-visible {
    background-color: var(--surface-gray-200);
    color: var(--black);
    font-weight: 500;
}

.catalog-nav-list a:hover::after,
.catalog-nav-list a:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.catalog-nav-list a:focus-visible {
    outline: 2px solid var(--text-dark);
    outline-offset: 2px;
}

.catalog-category-content {
    color: var(--text-rich);
}

.catalog-category-content>*:last-child {
    margin-bottom: 0;
}

.catalog-category-section-perex {
    max-width: 44rem;
    color: var(--text-body);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.55vw, 1.18rem) */
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.catalog-subcategory-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 25px;
    align-items: start;
}

.catalog-subcategory-button {
    border: 1px solid var(--primary-border);
    box-shadow: var(--shadow-soft);
    width: 100%;
    min-width: 0;
}

.catalog-subcategory-button:hover,
.catalog-subcategory-button:focus-visible {
    border-color: var(--primary-border-hover);
    color: var(--text-dark);
    box-shadow: var(--shadow-card-hover);
}

.catalog-subcategory-button:hover .catalog-subcategory-button-icon,
.catalog-subcategory-button:focus-visible .catalog-subcategory-button-icon {
    transform: translateX(2px);
}

.products-section {
    padding-top: clamp(35px, 5vw, 60px);
    padding-bottom: 100px;
    background-color: var(--surface-gray-200);
}

/* Responzivní Grid: Desktop 4 sloupce, Tablet 3 sloupce, Tablet 2 sloupce, Mobil 1 sloupec */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Jednotlivá dlaždice produktu */
.product-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Čtvercový obrázek (Vynucený poměr stran 1:1) */
.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Spodní část dlaždice s textem a tlačítkem */
.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

/* Odkaz pokrývající celou oblast product-info */
.product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Hover efekt na celou dlaždici */
.product-card:hover .product-info {
    color: var(--primary-dark);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    /* ZMĚNA: Sníženo o ~15% ze 18px na 15px fixně, nebo ideálně clamp */
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
    color: var(--text-dark);
}

.product-manufacturer {
    /* ZMĚNA: Sníženo o ~15% ze 13px na 11px */
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Odsazení prázdného místa, aby bylo tlačítko vždy zarovnané dolů */
.spacer {
    flex-grow: 1;
}

/* Tlačítko Více */
.btn-more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background-color: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    /* ZMĚNA: Sníženo o ~15% ze 14px na 12px */
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
}

.btn-more:hover {
    color: var(--primary-dark);
}

.btn-more .arrow-circle {
    width: 28px;
    height: 28px;
    background-color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-more:hover .arrow-circle {
    background-color: var(--primary-color);
}

.btn-more .arrow-circle svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

/* Aktivní stav v navigaci */
nav ul li a.active {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
}

/* Responzivita pro produkty */
@media ( max-width : 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media ( max-width : 900px) {
    .catalog-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-nav-columns {
        flex-direction: column;
        gap: 15px;
    }

    .catalog-nav-column {
        width: 100%;
    }

    .catalog-subcategory-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .catalog-subcategory-button {
        width: 100%;
        justify-content: space-between;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media ( max-width : 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 40px 0;
        margin-bottom: 40px;
    }

}

.secondary-section {
    background-color: var(--bg-light);
}

/* --- FORMULARE --- */
.article-forms {
    display: grid;
    gap: 4rem;
}

.article-form-item {
    background: transparent;
}

.form-plugin-form {
    background: transparent;
    border: none;
    box-shadow: none;
}

.form-plugin-form__header {
    margin-bottom: 2.25rem;
}

.form-plugin-form__title {
    /* ZMĚNA: Sníženo o ~15% z (2.1rem, 4vw, 3.2rem) */
    font-size: clamp(1.78rem, 3.4vw, 2.72rem);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.form-plugin-form__legend {
    margin-top: 0.9rem;
    max-width: 44rem;
    color: var(--text-body);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.55vw, 1.18rem) */
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    line-height: 1.5;
}

.form-plugin-form__form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-plugin-form__alerts {
    display: grid;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(193, 31, 40, 0.08);
    color: var(--text-danger);
}

.form-plugin-form__alert-item, .form-plugin-form__field-error {
    margin: 0;
}

.form-plugin-form__fields {
    display: grid;
    gap: 1.5rem;
}

.form-plugin-form__field {
    display: grid;
    gap: 0.8rem;
}

.form-plugin-form__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-strong);
}

.form-plugin-form__required {
    color: var(--text-danger);
}

.form-plugin-form__input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.1rem 0 0.85rem;
    font: inherit;
    font-size: 1.08rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, transform 0.2s ease;
    outline: none;
    appearance: none;
}

.form-plugin-form__input::placeholder {
    color: var(--text-muted-soft);
}

.form-plugin-form__input--textarea {
    min-height: 9rem;
    resize: vertical;
    background: transparent;
    line-height: 1.45;
}

.form-plugin-form__input--textarea:focus {
    border-color: var(--primary-accent);
}

.form-plugin-form__input--select {
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-dark)
    50%), linear-gradient(135deg, var(--text-dark) 50%, transparent 50%);
    background-position: calc(100% - 1rem) calc(50% + 0.05rem),
    calc(100% - 0.65rem) calc(50% + 0.05rem);
    background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
    background-repeat: no-repeat;
}

.form-plugin-form__input--file {
    border: 1.5px dashed var(--border-contrast);
    border-radius: var(--radius-lg);
    padding: 0.95rem 1.1rem;
    line-height: 1.3;
}

.form-plugin-form__input--file::file-selector-button {
    margin-right: 1rem;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--text-dark);
    color: var(--white);
    padding: 0.65rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-plugin-form__choice-list {
    display: grid;
    gap: 0.85rem;
    padding-top: 0.25rem;
}

.form-plugin-form__choice-list label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-body);
    cursor: pointer;
}

.form-plugin-form__choice-list input[type="checkbox"],
    .form-plugin-form__choice-list input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--text-dark);
}

.form-plugin-form__field-errors {
    display: grid;
    gap: 0.35rem;
    color: var(--text-danger);
    font-size: 0.92rem;
}

.form-plugin-form__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

.form-plugin-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    background: none;
    padding: 0.35rem 0.35rem 0.35rem 1.15rem;
    font: inherit;
    cursor: pointer;
    color: var(--text-dark);
    position: relative;
    z-index: 0;
}

.form-plugin-form__submit::before {
    content: "";
    position: absolute;
    inset: 0.1rem 0.1rem 0.1rem 0;
    border-radius: var(--radius-pill-full);
    background: linear-gradient(90deg, rgba(140, 229, 221, 0.9) 0%,
    rgba(140, 229, 221, 0.82) 72%, rgba(140, 229, 221, 0.38) 100%);
    z-index: -1;
}

.form-plugin-form__submit-label {
    /* ZMĚNA: Sníženo o ~15% z (1.02rem, 1.5vw, 1.2rem) */
    font-size: clamp(0.86rem, 1.2vw, 1.02rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.form-plugin-form__submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-round);
    background: var(--text-dark);
    color: var(--white);
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.form-plugin-form__submit:hover .form-plugin-form__submit-arrow,
    .form-plugin-form__submit:focus-visible .form-plugin-form__submit-arrow {
    transform: translateX(2px);
}

.form-plugin-form__submit:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 6px;
    border-radius: var(--radius-pill);
}

.form-plugin-form__field {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border-style: 1px solid var(--white);
    padding: 0 1rem;
}

@media ( max-width : 768px) {
    .form-plugin-form {
        max-width: none;
    }

    .form-plugin-form__header {
        margin-bottom: 1.75rem;
    }

    .form-plugin-form__fields {
        gap: 1.25rem;
    }

    .form-plugin-form__actions {
        justify-content: flex-start;
    }

}

/* --- MEMBERS LOGIN --- */
.members-login-page {
    background: linear-gradient(180deg, var(--white) 0%, var(--surface-gray-100) 100%);
    padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 110px);
}

.members-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.members-login-intro {
    min-height: 100%;
    background: var(--primary-card-bg);
    border-radius: var(--radius-banner);
    box-shadow: var(--shadow-soft-lg);
    padding: clamp(2.1rem, 4vw, 4.25rem);
    position: relative;
    overflow: hidden;
}

.members-login-intro::before {
    content: "";
    position: absolute;
    right: -6rem;
    top: -7rem;
    width: 20rem;
    height: 20rem;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.26);
}

.members-login-kicker {
    color: var(--text-strong);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.members-login-intro h1 {
    font-size: clamp(2.04rem, 4.2vw, 4.08rem);
    line-height: 1;
    margin-bottom: 1.1rem;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.members-login-intro p:not(.members-login-kicker) {
    color: var(--text-strong);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    line-height: 1.55;
    max-width: 42rem;
    position: relative;
    z-index: 1;
}

.members-login-benefits {
    display: grid;
    gap: 0.85rem;
    list-style: none;
    margin-top: 2rem;
    max-width: 40rem;
    position: relative;
    z-index: 1;
}

.members-login-benefits li {
    align-items: flex-start;
    color: var(--text-strong);
    display: flex;
    font-weight: 500;
    gap: 0.75rem;
    line-height: 1.4;
}

.members-login-benefits li::before {
    align-items: center;
    background: var(--text-dark);
    border-radius: var(--radius-round);
    color: var(--white);
    content: "✓";
    display: inline-flex;
    flex: 0 0 1.55rem;
    font-size: 0.82rem;
    height: 1.55rem;
    justify-content: center;
    margin-top: -0.05rem;
    width: 1.55rem;
}

.members-login-card-wrap {
    align-self: center;
}

.members-login-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card-hover);
    padding: clamp(1.6rem, 3vw, 2.5rem);
}

.members-login-card-header {
    margin-bottom: 1.8rem;
}

.members-login-card-header h2 {
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.1;
}

.members-login-form {
    display: grid;
    gap: 1.25rem;
}

.members-login-field {
    background: var(--surface-gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    display: grid;
    gap: 0.55rem;
    padding: 0.95rem 1rem 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.members-login-field:focus-within {
    background: var(--white);
    border-color: var(--primary-border);
    box-shadow: 0 0 0 4px rgba(120, 221, 216, 0.16);
}

.members-login-label {
    color: var(--text-strong);
    font-size: 0.92rem;
    font-weight: 700;
}

.members-login-input {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--text-dark);
    font: inherit;
    font-size: 1.05rem;
    outline: none;
    padding: 0;
    width: 100%;
}

.members-login-alert {
    background: rgba(193, 31, 40, 0.08);
    border-radius: var(--radius-lg);
    color: var(--text-danger);
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
}

.members-login-alert p {
    margin: 0;
}

.members-login-actions,
.members-login-state {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: space-between;
    padding-top: 0.45rem;
}

.members-login-state {
    align-items: flex-start;
    flex-direction: column;
}

.members-login-state p {
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

.members-login-submit {
    align-items: center;
    background: var(--text-dark);
    border: 0;
    border-radius: var(--radius-pill);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem 0.65rem 1.35rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.members-login-submit:hover,
.members-login-submit:focus-visible {
    background: var(--primary-dark);
    color: var(--text-dark);
    transform: translateY(-1px);
}

.members-login-submit:focus-visible,
.members-login-back:focus-visible,
.members-login-secondary:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 4px;
}

.members-login-submit-arrow {
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-round);
    color: var(--text-dark);
    display: inline-flex;
    height: 2.1rem;
    justify-content: center;
    transition: transform 0.2s ease;
    width: 2.1rem;
}

.members-login-submit:hover .members-login-submit-arrow,
.members-login-submit:focus-visible .members-login-submit-arrow {
    transform: translateX(2px);
}

.members-login-back,
.members-login-secondary {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--text-dark);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.members-login-back:hover,
.members-login-back:focus-visible,
.members-login-secondary:hover,
.members-login-secondary:focus-visible {
    background: var(--surface-gray-100);
    border-color: var(--primary-border);
    color: var(--text-dark);
}

@media ( max-width : 900px) {
    .members-login-layout {
        grid-template-columns: 1fr;
    }

}

@media ( max-width : 600px) {
    .members-login-page {
        padding: 40px 0 70px;
    }

    .members-login-intro,
    .members-login-card {
        border-radius: var(--radius-2xl);
    }

    .members-login-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .members-login-submit,
    .members-login-back,
    .members-login-secondary {
        justify-content: space-between;
        width: 100%;
    }

}

/* Vzorová stránka - specifické styly */
.text-content {
    padding: clamp(20px, 4vw, 35px) 0 clamp(10px, 2vw, 15px);
    background: var(--white);
}

.text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nadpisy */
.text-content h1 {
    /* ZMĚNA: Sníženo o ~15% z (2.3rem, 4vw, 3.25rem) */
    font-size: clamp(1.95rem, 3.4vw, 2.76rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.text-content h2 {
    /* ZMĚNA: Sníženo o ~15% z (1.9rem, 3.7vw, 2.8rem) */
    font-size: clamp(1.61rem, 3.1vw, 2.38rem);
    line-height: 1.15;
    margin-top: 2.7rem;
    margin-bottom: 1rem;
}

.text-content h3 {
    /* ZMĚNA: Sníženo o ~15% z (1.5rem, 3vw, 2.4rem) */
    font-size: clamp(1.28rem, 2.5vw, 2.04rem);
    line-height: 1.15;
    margin-top: 2.1rem;
    margin-bottom: 1rem;
}

.text-content h4 {
    /* ZMĚNA: Sníženo o ~15% z (1.25rem, 2.5vw, 2rem) */
    font-size: clamp(1.06rem, 2.1vw, 1.7rem);
    line-height: 1.2;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
}

.text-content h5 {
    /* ZMĚNA: Sníženo o ~15% z (1.1rem, 2vw, 1.5rem) */
    font-size: clamp(0.93rem, 1.7vw, 1.28rem);
    line-height: 1.25;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Odstavce */
.text-content p {
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.7vw, 1.35rem) */
    font-size: clamp(0.85rem, 1.4vw, 1.15rem);
    line-height: 1.35;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.text-content li {
    margin-bottom: 16px;
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.7vw, 1.35rem) */
    font-size: clamp(0.85rem, 1.4vw, 1.15rem);
    line-height: 1.4;
    color: var(--text-body);
}

.text-content li::before {
    top: 0.4em;
}

/* Tabulka pouze s horizontálními linkami */
.text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.7vw, 1.35rem) */
    font-size: clamp(0.85rem, 1.4vw, 1.15rem);
}

.text-content table th, .text-content table td {
    padding: 16px 20px;
    text-align: left;
    color: var(--text-body);
    line-height: 1.4;
}

.text-content table th {
    font-weight: 600;
    color: var(--text-dark);
    background: var(--surface-gray-200);
}

.text-content table tr {
    border-bottom: 1px solid var(--border-neutral);
}

.text-content table tr:last-child {
    border-bottom: 1px solid var(--border-neutral);
}

.text-content table tbody tr:hover {
    background: var(--surface-gray-100);
}

.sample-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--surface-gray-100);
    border-radius: var(--radius-lg);
}

.text-content img {
    max-width: 100%;
    height: auto;
}

/* Fulltext vyhledávání */
.search-page {
    background: linear-gradient(180deg, var(--white) 0%, var(--surface-gray-100) 100%);
    padding: 80px 0 100px;
}

.search-page-hero {
    background: var(--primary-card-bg);
    border-radius: var(--radius-banner);
    padding: clamp(2rem, 4vw, 4rem);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft-lg);
}

.search-page-hero::before {
    content: "";
    position: absolute;
    right: -8rem;
    top: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.26);
}

.search-page-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-strong);
    margin-bottom: 0.75rem;
}

.search-page-hero h1 {
    /* ZMĚNA: Sníženo o ~15% z (2.4rem, 5vw, 4.8rem) */
    font-size: clamp(2.04rem, 4.2vw, 4.08rem);
    line-height: 1;
    margin-bottom: 1rem;
    max-width: 760px;
}

.search-page-hero>p:not(.search-page-kicker) {
    max-width: 720px;
    color: var(--text-strong);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.5vw, 1.28rem) */
    font-size: clamp(0.85rem, 1.3vw, 1.09rem);
    margin-bottom: 2rem;
}

.search-form {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.search-form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.search-form-row {
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-pill-full);
    box-shadow: var(--shadow-soft);
}

.search-form-row input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 0.95rem 1.25rem;
    font: inherit;
    color: var(--text-dark);
    background: transparent;
}

.search-form-row input:focus {
    outline: none;
}

.search-form-row button {
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--text-dark);
    color: var(--white);
    padding: 0.85rem 1rem 0.85rem 1.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.search-form-row button:hover,
.search-form-row button:focus-visible {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.search-form-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-round);
    background: var(--white);
    color: var(--text-dark);
}

.search-form-help {
    color: var(--text-muted-strong);
    font-size: 0.95rem;
    margin-top: 0.85rem;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.search-results-header h2 {
    /* ZMĚNA: Sníženo o ~15% z (1.8rem, 3vw, 2.6rem) */
    font-size: clamp(1.53rem, 2.5vw, 2.21rem);
    line-height: 1.1;
}

.search-results-header>p {
    color: var(--text-light);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.4vw, 1.15rem) */
    font-size: clamp(0.85rem, 1.2vw, 0.98rem);
}

.search-results-list {
    display: grid;
    gap: 18px;
}

.search-result-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.search-result-media {
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg);
    background: var(--surface-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.search-result-media--empty {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-light));
}

.search-result-media--empty span {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.search-result-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 10px 8px 0;
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.search-result-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--surface-gray-200);
    color: var(--text-muted-strong);
    font-size: 0.8rem;
    font-weight: 700;
}

.search-result-meta span:first-child {
    background: var(--primary-color);
    color: var(--text-dark);
}

.search-result-content h2 {
    /* ZMĚNA: Sníženo o ~15% z (1.25rem, 1.2rem + 0.8vw, 1.8rem) */
    font-size: clamp(1.06rem, 1rem + 0.68vw, 1.53rem);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.search-result-content h2 a:hover {
    color: var(--primary-dark);
}

.search-result-content p {
    color: var(--text-body);
    /* ZMĚNA: Sníženo o ~15% z (0.98rem, 1vw, 1.12rem) */
    font-size: clamp(0.83rem, 0.85vw, 0.95rem);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.search-result-content mark {
    background: linear-gradient(180deg, transparent 42%, var(--search-highlight) 42%);
    color: inherit;
    padding: 0 0.08em;
}

.search-result-more {
    margin-top: auto;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

.search-result-more:hover {
    color: var(--primary-dark);
}

.search-result-more .arrow-circle {
    width: 28px;
    height: 28px;
    background-color: var(--text-dark);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.search-result-more:hover .arrow-circle {
    background: var(--primary-color);
    transform: translateX(2px);
}

.search-result-more svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.search-message {
    background: var(--white);
    border-radius: var(--radius-banner);
    box-shadow: var(--shadow-soft-lg);
    color: var(--text-body);
    padding: 2rem;
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.4vw, 1.2rem) */
    font-size: clamp(0.85rem, 1.2vw, 1.02rem);
}

.search-message--warning {
    border-left: 8px solid var(--primary-dark);
}

.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.search-pagination a,
.search-pagination span {
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 0.85rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    font-weight: 700;
}

.search-pagination a:hover,
.search-pagination a.active {
    background: var(--primary-color);
}

.search-pagination .is-disabled {
    color: var(--text-muted-faint);
    box-shadow: none;
}

.search-pagination-gap {
    background: transparent !important;
    box-shadow: none !important;
}

@media ( max-width : 768px) {
    .search-page {
        padding: 50px 0 70px;
    }

    .search-page-hero {
        border-radius: var(--radius-2xl);
        padding: 2rem 1.25rem;
    }

    .search-form-row {
        border-radius: var(--radius-lg);
        flex-direction: column;
    }

    .search-form-row button {
        justify-content: space-between;
    }

    .search-results-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-result-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .search-result-media {
        max-height: 210px;
    }

    .search-result-content {
        padding: 0;
    }

}

/* Flash zprávy */
.flash {
    width: min(100%, 960px);
    margin: 24px auto;
    padding: 18px 22px 18px 26px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    border-left-width: 8px;
    background: var(--surface-gray-100);
    color: var(--text-strong);
    /* ZMĚNA: Sníženo o ~15% z (1rem, 1.4vw, 1.15rem) */
    font-size: clamp(0.85rem, 1.2vw, 0.98rem);
    line-height: 1.4;
    box-shadow: var(--shadow-soft);
}

.flash.type-success {
    border-color: rgba(33, 191, 184, 0.26);
    border-left-color: var(--primary-accent);
    background: linear-gradient(135deg, rgba(140, 229, 221, 0.2) 0%, var(--white) 100%);
}

.flash.type-danger {
    border-color: rgba(193, 31, 40, 0.2);
    border-left-color: var(--text-danger);
    background: linear-gradient(135deg, rgba(193, 31, 40, 0.08) 0%, var(--white) 100%);
    color: var(--text-error);
}

/* Newslettery */
.newsletter-page-intro {
    background: var(--white);
    padding: clamp(42px, 6vw, 78px) 0 clamp(34px, 5vw, 58px);
}

.newsletter-page-title {
    font-size: clamp(1.95rem, 3.4vw, 3.57rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--text-dark);
    margin: 0 0 24px;
}

.newsletter-page-description {
    max-width: 44rem;
    color: var(--text-body);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    line-height: 1.5;
    margin: 0 0 28px;
}

.newsletter-category-pills {
    max-width: 760px;
}

.newsletter-category-pill {
    min-width: min(100%, 320px);
}

.newsletter-archive-page {
    background: var(--surface-gray-200);
    padding: clamp(38px, 5vw, 58px) 0 clamp(70px, 8vw, 110px);
}

.newsletter-empty {
    max-width: 44rem;
    padding: 18px 22px;
    background: var(--white);
    color: var(--text-body);
    box-shadow: var(--shadow-card);
}

.newsletter-archive-section+.newsletter-archive-section {
    margin-top: clamp(54px, 7vw, 86px);
}

.newsletter-section-banner {
    margin: 0 0 30px;
    width: 100%;
    overflow: hidden;
    background: var(--surface-gray-150);
}

.newsletter-section-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.newsletter-section-header {
    max-width: 46rem;
    margin: 0 0 24px;
}

.newsletter-section-header h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 2.8vw, 2.55rem);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 600;
}

.newsletter-section-header p {
    margin: 0;
    color: var(--text-body);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    line-height: 1.5;
}

.newsletter-issue-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 220px));
    gap: 28px 34px;
    align-items: start;
}

.newsletter-issue-card {
    display: block;
    width: 100%;
    aspect-ratio: 210 / 297;
    background: var(--white);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-issue-card:hover,
.newsletter-issue-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.newsletter-issue-card:focus-visible {
    outline: 2px solid var(--text-dark);
    outline-offset: 4px;
}

.newsletter-issue-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-detail-hero {
    background: var(--white);
    padding: clamp(44px, 6vw, 76px) 0 clamp(34px, 5vw, 58px);
}

.newsletter-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    gap: clamp(28px, 5vw, 70px);
    align-items: end;
}

.newsletter-detail-heading h1 {
    margin: 0;
    font-size: clamp(1.95rem, 3.4vw, 3.57rem);
    line-height: 1.05;
    font-weight: 600;
    color: var(--text-dark);
}

.newsletter-detail-kicker,
.newsletter-detail-meta {
    margin: 0 0 14px;
    color: var(--text-muted-strong);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.35;
    font-weight: 600;
}

.newsletter-detail-meta {
    margin: 18px 0 0;
}

.newsletter-detail-cover {
    margin: 0;
    width: 100%;
    aspect-ratio: 210 / 297;
    background: var(--surface-gray-200);
    box-shadow: var(--shadow-card-hover);
    overflow: hidden;
}

.newsletter-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-subscription-section {
    background: var(--surface-gray-100);
    padding: clamp(34px, 5vw, 70px) 0;
}

.newsletter-subscription-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: clamp(22px, 4vw, 54px);
    align-items: start;
    background: var(--white);
    box-shadow: var(--shadow-card);
    padding: clamp(22px, 4vw, 42px);
}

.newsletter-subscription-copy h2 {
    margin: 0 0 12px;
    color: var(--text-dark);
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.12;
    font-weight: 600;
}

.newsletter-subscription-copy p {
    margin: 0;
    color: var(--text-body);
    line-height: 1.5;
}

.newsletter-subscription-note {
    margin-top: 14px !important;
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
    color: var(--text-muted-strong);
    font-size: 0.92rem;
}

.newsletter-subscription-form {
    display: grid;
    gap: 18px;
}

.newsletter-subscription-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.newsletter-subscription-field,
.newsletter-subscription-categories {
    display: grid;
    gap: 8px;
    align-content: start;
    color: var(--text-muted-strong);
    font-size: 0.9rem;
    font-weight: 600;
}

.newsletter-subscription-label {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.newsletter-subscription-required {
    color: var(--text-danger);
}

.newsletter-subscription-fields input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-dark);
    padding: 0 12px;
    font: inherit;
}

.newsletter-subscription-fields input[aria-invalid="true"] {
    border-color: var(--action-hover-color);
}

.newsletter-subscription-field-errors {
    color: var(--link-accent-hover);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
}

.newsletter-subscription-field-errors p {
    margin: 0;
}

.newsletter-subscription-category {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-dark);
    font-weight: 500;
}

.newsletter-subscription-categories.is-invalid {
    outline: 1px solid var(--action-hover-color);
    outline-offset: 6px;
}

.newsletter-subscription-gdpr {
    margin: -4px 0 0;
    color: var(--text-muted-strong);
    font-size: 0.82rem;
    line-height: 1.45;
}

.newsletter-subscription-submit {
    justify-self: start;
    cursor: pointer;
    margin-top: 0;
    font-family: inherit;
}

.newsletter-subscription-errors {
    border: 1px solid var(--action-hover-color);
    color: var(--link-accent-hover);
    padding: 12px;
}

.newsletter-subscription-flash {
    border: 1px solid var(--border-light);
    padding: 12px;
}

.newsletter-subscription-flash--success {
    border-color: var(--text-success);
    color: var(--text-success-strong);
}

.newsletter-subscription-flash--danger,
.newsletter-subscription-flash--error {
    border-color: var(--action-hover-color);
    color: var(--link-accent-hover);
}

.newsletter-subscription-errors p {
    margin: 0;
}

.newsletter-status-page {
    background: var(--surface-gray-200);
    padding: clamp(42px, 7vw, 86px) 0;
}

.newsletter-status-message {
    max-width: 720px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    padding: clamp(24px, 4vw, 46px);
}

.newsletter-status-message h1 {
    margin: 0 0 16px;
    color: var(--text-dark);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    font-weight: 600;
}

.newsletter-status-message p {
    margin: 0 0 24px;
    color: var(--text-body);
    line-height: 1.5;
}

.newsletter-detail-content {
    background: var(--surface-gray-200);
    padding: clamp(38px, 5vw, 58px) 0;
}

.newsletter-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.newsletter-detail-copy {
    background: var(--white);
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--shadow-card);
}

.newsletter-detail-copy h2 {
    margin: 0 0 22px;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    line-height: 1.15;
    font-weight: 600;
    color: var(--text-dark);
}

.newsletter-detail-empty {
    margin: 0;
    color: var(--text-body);
    font-size: clamp(0.9rem, 1.25vw, 1rem);
    line-height: 1.5;
}

.newsletter-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 100px;
}

.newsletter-detail-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px 14px 20px;
    background: var(--white);
    color: var(--text-dark);
    box-shadow: var(--shadow-card);
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    line-height: 1.2;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-detail-action--primary {
    background: var(--primary-card-bg);
    border: 1px solid var(--primary-border);
}

.newsletter-detail-action span:last-child {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-round);
    background: var(--text-strong);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.newsletter-detail-action:hover,
.newsletter-detail-action:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.newsletter-pdf-section {
    background: var(--surface-gray-200);
    padding: 0 0 clamp(72px, 8vw, 112px);
}

.newsletter-pdf-header {
    margin: 0 0 24px;
}

.newsletter-pdf-header h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.55rem);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 600;
}

.newsletter-pdf-viewer {
    background: var(--white);
    box-shadow: var(--shadow-card-hover);
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.newsletter-flipbook-host {
    width: 100%;
    min-height: 0;
    background: var(--surface-gray-200);
}

.newsletter-pdf-viewer.is-flipbook-active {
    display: block;
    min-height: 0;
}

.newsletter-pdf-viewer.is-flipbook-active .newsletter-pdf-toolbar,
.newsletter-pdf-viewer.is-flipbook-active iframe {
    display: none;
}

.newsletter-pdf-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
}

.newsletter-pdf-tool {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-light);
    background: var(--surface-gray-100);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 700;
    flex: 0 0 auto;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.newsletter-pdf-tool:hover,
.newsletter-pdf-tool:focus-visible {
    background: var(--primary-card-bg);
    border-color: var(--primary-border);
    transform: translateY(-1px);
}

.newsletter-pdf-tool--wide {
    width: auto;
    min-width: 142px;
    gap: 8px;
    padding: 0 14px;
    font-size: 0.88rem;
    justify-content: center;
}

.newsletter-pdf-page {
    height: 38px;
    border: 1px solid var(--border-light);
    background: var(--surface-gray-100);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px 0 12px;
    color: var(--text-muted-strong);
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
    flex: 0 0 auto;
}

.newsletter-pdf-page input {
    width: 58px;
    height: 28px;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-dark);
    text-align: center;
    font: inherit;
}

.newsletter-pdf-zoom {
    min-width: 54px;
    text-align: center;
    color: var(--text-muted-strong);
    font-size: 0.86rem;
    line-height: 1;
    font-weight: 700;
}

.newsletter-pdf-toolbar-separator {
    width: 1px;
    height: 28px;
    background: var(--border-light);
    margin: 0 2px;
}

.newsletter-pdf-toolbar-spacer {
    flex: 1 1 auto;
}

.newsletter-pdf-viewer.is-local-fullscreen,
.newsletter-pdf-viewer:fullscreen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: var(--surface-gray-200);
    box-shadow: none;
}

.newsletter-pdf-viewer.is-local-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

body.newsletter-pdf-open {
    overflow: hidden;
}

.newsletter-pdf-viewer iframe {
    display: block;
    width: 100%;
    height: min(86vh, 980px);
    min-height: 0;
    border: 0;
    background: var(--white);
    flex: 1 1 auto;
}

.newsletter-pdf-viewer.is-local-fullscreen iframe,
.newsletter-pdf-viewer:fullscreen iframe {
    height: auto;
    min-height: 0;
}

@media ( max-width : 1024px) {
    .newsletter-issue-grid {
        grid-template-columns: repeat(3, minmax(0, 220px));
    }

    .newsletter-detail-hero-grid,
    .newsletter-detail-layout {
        grid-template-columns: 1fr;
    }

    .newsletter-detail-cover {
        max-width: 240px;
    }

    .newsletter-detail-actions {
        position: static;
    }

}

@media ( max-width : 768px) {
    .newsletter-page-intro {
        padding: 34px 0 30px;
    }

    .newsletter-category-pill {
        width: 100%;
        min-width: 0;
    }

    .newsletter-archive-page {
        padding: 34px 0 64px;
    }

    .newsletter-issue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .newsletter-detail-hero {
        padding: 34px 0 30px;
    }

    .newsletter-detail-cover {
        max-width: 180px;
    }

    .newsletter-detail-copy {
        padding: 22px 18px;
    }

    .newsletter-subscription-panel,
    .newsletter-subscription-fields {
        grid-template-columns: 1fr;
    }

    .newsletter-pdf-viewer,
    .newsletter-pdf-viewer iframe {
        min-height: 0;
    }

    .newsletter-flipbook-host,
    .newsletter-pdf-viewer.is-flipbook-active {
        min-height: 0;
    }

    .newsletter-pdf-viewer iframe {
        height: 74vh;
    }

    .newsletter-pdf-toolbar {
        flex-wrap: wrap;
    }

    .newsletter-pdf-toolbar-spacer {
        display: none;
    }

    .newsletter-pdf-tool--wide {
        min-width: 100%;
    }

}

@media ( max-width : 420px) {
    .newsletter-issue-grid {
        gap: 14px;
    }

}

/* -=-=- zdzit -=-=- */
.catalog-nav-list a {
    padding: 5px 15px 5px 30px;
    /* ZMĚNA: Sníženo o ~15% z (1rem, 0.7rem + 0.6vw, 1.1rem) */
    font-size: clamp(0.85rem, 0.6rem + 0.5vw, 0.93rem);
}

main a:not(.btn-outline):not(.catalog-nav-link):not(.omit-link-color):not(.btn-dark) {
    color: var(--link-color);
}

/* Obarvení běžných textových odkazů v obsahu (články, detaily produktů atd.) */
.catalog-detail-richtext a:not(.btn-outline):not(.catalog-nav-link):not(.omit-link-color):not(.btn-dark),
.text-content a:not(.btn-outline):not(.catalog-nav-link):not(.omit-link-color):not(.btn-dark) {
    color: #c92a2a;
}

main a.external-link::after {
    content: "";
    display: inline-block;
    width: 0.78em;
    height: 0.78em;
    margin-left: 0.32em;
    vertical-align: -0.08em;
    background: url("/assets/site/new-window.svg") center / contain no-repeat;
}

.forms-container {
    padding: 5rem 0;
    margin-top: 5rem;
    margin-bottom: 0 !important;
}

/* CBRNe layout and component styles. */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.5;
    background: var(--white);
}

.container {
    width: min(100% - 48px,var(--max-width));
    margin-inline: auto;
    padding-inline: 0;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 5px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 2000;
    background: var(--primary-color);
    color: var(--text-emphasis);
    padding: 12px 20px;
}

.skip-link:focus {
    top: 12px;
}

.cbrne-header {
    position: sticky;
    top: 0;
    background: var(--surface-dark);
    padding: 0;
    border: 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

.nav-container {
    min-height: 92px;
    gap: 28px;
    transition: min-height .3s ease;
}

.cbrne-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-text {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.7px;
    color: var(--primary-color);
    transition: font-size .3s ease;
}

.cbrne-brand img {
    width: 100px;
    filter: grayscale(1) brightness(0) invert(1);
    transition: width .3s ease;
}

.brand-divider {
    height: 31px;
    border-left: 1px solid var(--border-on-dark);
    transition: height .3s ease;
}

.cbrne-header.scrolled .nav-container {
    min-height: 60px;
}

.cbrne-header.scrolled .cbrne-brand img {
    width: 70px;
}

.cbrne-header.scrolled .brand-text {
    font-size: 26px;
}

.cbrne-header.scrolled .brand-divider {
    height: 24px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav a {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:hover,.main-nav a:focus-visible {
    color: var(--primary-color);
}

.hamburger span {
    background: var(--primary-color);
}

.language-switcher {
    display: flex;
    gap: 0;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    flex-shrink: 0;
}

.language-switcher a {
    font-family: var(--font-main);
    letter-spacing: normal;
    display: grid;
    place-items: center;
    min-width: 34px;
    padding: 5px 9px;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.5;
}

.language-switcher a:first-child {
    border-radius: 999px 0 0 999px;
}

.language-switcher a:last-child {
    border-radius: 0 999px 999px 0;
}

.language-switcher a.active {
    background: var(--primary-color);
    color: var(--text-controls-muted);
}

.cbrne-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    overflow: hidden;
}

.cbrne-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cbrne-hero .container {
    position: relative;
}

.cbrne-hero-copy {
    padding: 58px 0;
    max-width: 620px;
}

.cbrne-hero h1 {
    font-size: clamp(32px,3.2vw,48px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.7px;
    margin: 0 0 20px;
}

.cbrne-hero p {
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 30px;
}

.hazard-marks img {
    width: clamp(262px,35vw,350px);
    height: auto;
    display: block;
}

.sectors-section {
    background: linear-gradient(var(--surface-gray-150),var(--surface-sector-end));
    padding: 80px 0 56px;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 46px;
}

.sector-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    text-decoration: none;
    transition: transform .2s,box-shadow .2s;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow-sector-color);
}

.sector-card>img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.sector-card>div {
    min-height: 150px;
    padding: 21px 24px 34px;
    position: relative;
}

.sector-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}

.sector-card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}

.circle-arrow {
    position: absolute;
    right: 17px;
    bottom: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    line-height: 1;
    color: var(--text-controls);
}

.section-action {
    text-align: center;
    margin-top: 45px;
}

.outline-button,.pill-button {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    border: 1px solid currentColor;
    border-radius: 50px;
    padding: 8px 21px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
}

.outline-button:hover {
    background: var(--primary-color);
}

.pill-button {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-controls);
    margin-top: 20px;
}

.pill-button>span {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-button-icon);
    color: var(--primary-color);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    line-height: 1;
    margin-right: -12px;
}

.pill-button:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.section-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.5px;
}

.featured-section {
    padding: 70px 0 80px;
}

.section-intro {
    text-align: center;
    font-size: 15px;
    color: var(--text-intro);
    margin: -18px auto 42px;
    max-width: 600px;
}

.inline-circle-arrow {
    display: inline-grid;
    place-items: center;
    background: var(--primary-color);
    color: var(--text-controls);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: -3px;
    line-height: 1;
    text-decoration: none;
}

.inline-circle-arrow-white {
    background: var(--white);
    color: var(--text-controls);
}

.inline-circle-arrow svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 38px;
    max-width: 1020px;
    margin: 0 auto;
}

.featured-card {
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}

.featured-card>img {
    height: 220px;
    width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.featured-card>div {
    background: var(--surface-featured);
    padding: 120px 25px 22px;
    margin-top: -110px;
    border-radius: 9px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-card:nth-child(2)>div,.featured-card:hover>div {
    background: var(--primary-color);
}

.featured-card h3 {
    font-size: 21px;
    margin: 0 0 10px;
}

.featured-card p {
    font-size: 15px;
    line-height: 1.4;
    max-width: 220px;
    margin: 0 auto 30px;
    flex: 1;
}

.featured-card .outline-button {
    font-size: 12px;
    padding: 5px 15px;
    gap: 10px;
}

.about-section {
    padding: 80px 0;
    text-align: center;
}

.about-section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0 25px;
    color: var(--text-emphasis);
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-about);
}

.magazine-section {
    background: var(--surface-dark);
    color: var(--white);
    padding: 64px 0;
    border-radius: 6px;
    scroll-margin-top: 25px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 980px;
}

.magazine-kicker {
    font-size: 12px;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
}

.magazine-section h2 {
    font-size: clamp(48px,6vw,80px);
    letter-spacing: -4px;
    line-height: 1.15;
    margin: 15px 0 20px;
    font-weight: 900;
}

.magazine-section h2 span {
    color: var(--text-magazine-accent);
}

.magazine-section p {
    font-size: 20px;
    line-height: 1.4;
}

.magazine-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.magazine-cover img {
    width: 255px;
    box-shadow: 0 12px 20px var(--shadow-magazine-color);
}

.magazine-cover a {
    font-size: 13px;
    text-decoration: none;
}

.magazine-cover a:hover {
    color: var(--primary-color);
}

.cbrne-footer {
    margin-top: 0;
    background: var(--surface-dark);
    padding: 65px 0 25px;
    color: var(--white);
}

.cbrne-footer .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 0;
    margin-bottom: 45px;
    gap: 30px;
}

.footer-brand img {
    width: 150px;
    filter: grayscale(1) brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: var(--white);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.cbrne-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr auto;
    gap: 60px;
    align-items: start;
}

.cbrne-footer address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.5;
}

.contact-link {
    display: block;
    text-decoration: none;
    margin: 5px 0;
}

.contact-link>span {
    display: inline-grid;
    place-items: center;
    color: var(--text-controls-muted);
    background: var(--primary-color);
    width: 23px;
    height: 23px;
    border-radius: 50%;
    margin-right: 8px;
    font-weight: 700;
}

.footer-newsletter h2 {
    font-size: 23px;
    font-weight: 500;
    margin: 0;
}

.footer-newsletter p {
    font-size: 16px;
    margin-top: 25px;
}

.anniversary {
    width: 145px;
    height: 145px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
}

.anniversary strong {
    font-size: 58px;
    font-weight: 600;
    letter-spacing: -3px;
}

.anniversary span {
    font-size: 26px;
}

.cbrne-copyright {
    text-align: right;
    font-size: 11px;
    color: var(--text-on-dark-muted);
    margin-top: 40px;
}

.specialist-sites {
    padding: 85px 0 100px;
}

.specialist-sites h2 {
    font-size: 28px;
    text-align: center;
    font-weight: 500;
    margin: 0 0 32px;
}

.specialist-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.specialist-grid a {
    background: var(--surface-specialist);
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.specialist-grid img {
    height: 225px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.specialist-grid span {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 55px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-controls);
    display: grid;
    place-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s,visibility .3s,background .3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
}

.back-to-top svg {
    transform: rotate(-90deg);
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Preserve the RMI catalog interactions while applying CBRNe's identity. */
.catalog-section {
    background: var(--bg-light);
    padding: 55px 0;
}

.catalog-nav-header {
    background: var(--primary-color);
}

.catalog-nav-header:hover {
    background: var(--catalog-header-hover);
}

.catalog-nav-body {
    background: white;
}

.catalog-category-intro-section {
    padding: 50px 0;
}

.catalog-detail-hero-inner {
    background: transparent;
}

.catalog-detail-hero-link {
    background: transparent;
}

.catalog-detail-breadcrumbs {
    background: var(--surface-breadcrumb);
}

.catalog-detail-body {
    max-width: 100%;
}

.catalog-detail-download-item {
    border-color: var(--border-download);
}

.catalog-detail-download-item:hover {
    background: var(--surface-download-hover);
}

.product-card {
    box-shadow: none;
    border: 1px solid var(--bg-light);
}

.product-card:hover {
    border-color: var(--primary-color);
}

.product-image {
    background: var(--white);
}

.product-info {
    background: var(--white);
}

.product-card:hover .product-info {
    background: var(--primary-color);
}

.product-name {
    font-size: 21px;
}

.arrow-circle {
    background: var(--primary-color);
    color: var(--text-controls);
}

.catalog-subcategory-button {
    background: var(--primary-color);
}

.catalog-subcategory-button:hover {
    background: var(--subcategory-hover);
}

.page-hero {
    max-height: 420px;
}

.page-hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

.animate-up {
    opacity: 1;
    transform: none;
}

.catalog-detail-image img {
    max-height: 600px;
    object-fit: contain;
}

.products-grid {
    gap: 30px;
}

.secondary-section:empty {
    display: none;
}

@media (min-width:1001px) {
    .hamburger {
        display: none;
    }

    .main-nav {
        position: static;
        height: auto;
        width: auto;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }

    .main-nav ul {
        flex-direction: row;
    }

}

@media (max-width:1100px) {
    .nav-container {
        gap: 18px;
    }

    .main-nav,.main-nav ul {
        gap: 16px;
    }

    .brand-text {
        font-size: 28px;
    }

    .cbrne-brand img {
        width: 75px;
    }

    .sector-grid {
        gap: 25px;
    }

    .sector-card>img {
        height: 210px;
    }

    .cbrne-footer-grid {
        gap: 35px;
    }

}

@media (max-width:1000px) {
    .nav-container {
        min-height: 78px;
    }

    .hamburger {
        display: flex;
        order: 3;
        margin-left: 0;
        flex-shrink: 0;
        z-index: 102;
    }

    .header-actions {
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100dvh;
        width: min(360px,86vw);
        background: var(--surface-dark);
        padding: 100px 30px 35px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        transition: right .25s;
        overflow: auto;
        z-index: 101;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav li a {
        display: block;
        font-size: 19px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-on-dark-subtle);
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: var(--overlay-dark-50);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease;
        z-index: 99;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .cbrne-hero-copy {
        max-width: 55%;
    }

    .cbrne-hero h1 {
        font-size: 35px;
    }

    .cbrne-hero p {
        font-size: 17px;
    }

    .cbrne-hero-image {
        object-position: 60% center;
    }

    .sector-card>div {
        padding: 18px 18px 40px;
    }

    .sector-card h2 {
        font-size: 18px;
    }

    .featured-grid {
        gap: 20px;
    }

    .featured-card>img {
        height: 180px;
    }

    .cbrne-footer .footer-top {
        align-items: flex-start;
    }

    .footer-nav {
        justify-content: flex-end;
    }

    .specialist-grid img {
        height: 180px;
    }

}

@media (max-width:700px) {
    .container {
        width: calc(100% - 36px);
    }

    .cbrne-brand {
        gap: 10px;
    }

    .brand-text {
        font-size: 28px;
    }

    .brand-divider {
        height: 25px;
    }

    .cbrne-hero {
        min-height: 430px;
        align-items: flex-start;
    }

    .cbrne-hero-image {
        object-position: 67% bottom;
        opacity: .6;
    }

    .cbrne-hero:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,var(--hero-overlay),transparent);
    }

    .cbrne-hero .container {
        z-index: 1;
    }

    .cbrne-hero-copy {
        max-width: 100%;
        padding: 48px 0;
    }

    .cbrne-hero h1 {
        font-size: 36px;
        max-width: 390px;
        letter-spacing: -1.1px;
    }

    .cbrne-hero p {
        font-size: 17px;
        max-width: 280px;
    }

    .cbrne-hero p br {
        display: none;
    }

    .hazard-marks {
        margin-top: 26px;
    }

    .sectors-section {
        padding: 35px 0;
    }

    .sector-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px;
    }

    .sector-card>img {
        height: 160px;
    }

    .sector-card>div {
        min-height: 160px;
        padding: 15px 13px 40px;
    }

    .sector-card h2 {
        font-size: 17px;
        line-height: 1.2;
    }

    .sector-card p {
        font-size: 12px;
        max-width: 100%;
    }

    .circle-arrow {
        width: 25px;
        height: 25px;
        right: 12px;
        bottom: 12px;
    }

    .featured-section {
        padding: 45px 0;
    }

    .section-title {
        font-size: 27px;
    }

    .section-intro {
        font-size: 14px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 360px;
    }

    .featured-card>img {
        height: 205px;
    }

    .featured-card>div {
        padding-top: 38px;
    }

    .magazine-section {
        padding: 44px 0;
    }

    .magazine-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .magazine-section h2 {
        font-size: 58px;
        letter-spacing: -3px;
    }

    .magazine-section p {
        font-size: 18px;
    }

    .magazine-cover img {
        width: 220px;
    }

    .cbrne-footer {
        margin-top: 0;
        padding-top: 40px;
    }

    .cbrne-footer .footer-top {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 32px;
    }

    .footer-nav,.footer-nav ul {
        justify-content: flex-start;
        gap: 16px;
    }

    .cbrne-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .anniversary {
        width: 110px;
        height: 110px;
        position: absolute;
        right: 20px;
        margin-top: 0;
    }

    .anniversary strong {
        font-size: 43px;
    }

    .anniversary span {
        font-size: 20px;
    }

    .footer-newsletter {
        padding-right: 0;
    }

    .cbrne-copyright {
        text-align: left;
    }

    .specialist-sites {
        padding: 50px 0;
    }

    .specialist-sites h2 {
        font-size: 25px;
    }

    .specialist-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: auto;
    }

    .specialist-grid img {
        height: 240px;
    }

    .catalog-detail-hero-grid {
        gap: 20px;
    }

    .catalog-detail-hero h1 {
        font-size: 30px;
    }

    .catalog-section {
        padding: 30px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .catalog-detail-breadcrumbs ol {
        flex-wrap: wrap;
    }

    .catalog-detail-gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*:before,*:after {
        animation: none !important;
        transition: none !important;
    }

    .animate-up {
        opacity: 1;
        transform: none;
    }

}

.featured-section .section-title {
    text-align: center;
}

.magazine-cover a {
    color: var(--white);
}

.cbrne-footer .contact-link {
    color: var(--white);
    transition: color 0.2s ease;
}

.cbrne-footer .contact-link:hover,
.cbrne-footer .contact-link:focus-visible {
    color: var(--primary-color);
}

.cbrne-footer {
    position: relative;
}

/* Fixed-size arrows stay centered independently of the text font. */
.cbrne-arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    vertical-align: middle;
}

.circle-arrow>.cbrne-arrow,.pill-button>span>.cbrne-arrow,.catalog-manufacturer-link>.cbrne-arrow {
    display: block;
}

.pill-button>span>.cbrne-arrow {
    width: 14px;
    height: 14px;
}

.outline-button>span[aria-hidden] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.newsletter-download-arrow .cbrne-arrow {
    transform: rotate(90deg);
}

/* Header controls follow the reference: search, language capsule, mobile menu. */
.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.header-search summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 36px;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
}

.header-search summary::-webkit-details-marker {
    display: none;
}

.header-search-panel {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--surface-dark);
    border-top: 1px solid var(--border-search);
    padding: 18px 0;
    box-shadow: 0 8px 15px var(--shadow-search-color);
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.header-search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border-neutral);
    border-radius: 5px;
    background: var(--white);
    color: var(--text-controls-muted);
    padding: 12px 14px;
    font: inherit;
}

.header-search-form button {
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--text-controls-muted);
    padding: 12px 22px;
    font: inherit;
    cursor: pointer;
}

@media (max-width:1000px) {
    .header-actions {
        gap: 16px;
    }

    .header-actions .language-switcher {
        order: 0;
    }

    .header-actions .hamburger {
        order: 0;
    }

}

@media (max-width:480px) {
    .nav-container {
        gap: 10px;
    }

    .header-actions {
        gap: 10px;
    }

    .cbrne-brand {
        gap: 8px;
    }

    .brand-text {
        font-size: 24px;
    }

    .cbrne-brand img {
        width: 58px;
    }

    .header-search-form {
        gap: 8px;
    }

    .header-search-form button {
        padding-inline: 15px;
    }

}

@media (max-width:360px) {
    .header-actions {
        gap: 7px;
    }

    .brand-text {
        font-size: 21px;
    }

    .cbrne-brand img {
        width: 48px;
    }

    .language-switcher a {
        min-width: 29px;
        padding-inline: 6px;
    }

}

/* Product files share equal-sized preview and download controls. */
.catalog-file-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.catalog-file-actions .catalog-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--surface-dark);
    border-radius: 50%;
    background: var(--surface-dark);
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.catalog-file-button svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.catalog-file-actions .catalog-file-button[hidden] {
    display: none;
}

.catalog-file-actions .catalog-file-button:hover {
    background: var(--primary-color);
    color: var(--text-controls-muted);
}

.catalog-file-button:focus-visible,.catalog-pdf-header button:focus-visible {
    outline: 3px solid var(--focus-download-color);
    outline-offset: 3px;
}

/* A full-screen document surface with a permanently visible title bar. */
.catalog-pdf-dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--surface-pdf);
    color: var(--text-controls-muted);
    overflow: hidden;
}

.catalog-pdf-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0,1fr);
}

.catalog-pdf-dialog::backdrop {
    background: var(--overlay-pdf);
}

.catalog-pdf-header {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 12px 20px;
    box-sizing: border-box;
    background: var(--white);
    border-bottom: 1px solid var(--border-pdf);
}

.catalog-pdf-header h2 {
    font-size: 20px;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-pdf-header button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--surface-dark);
    color: var(--white);
    cursor: pointer;
}

.catalog-pdf-dialog [data-pdf-content] {
    min-height: 0;
    overflow: auto;
    padding: 12px;
    box-sizing: border-box;
}

.catalog-pdf-dialog .pdf-viewer-native {
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0,1fr) auto;
}

.catalog-pdf-dialog .pdf-viewer-native p {
    margin: 8px 0 0;
}

html.catalog-pdf-open {
    overflow: hidden;
}

@media (max-width:700px) {
    .catalog-file-actions {
        gap: 8px;
    }

    .catalog-pdf-header {
        padding: 8px 12px;
        min-height: 60px;
    }

    .catalog-pdf-header h2 {
        font-size: 16px;
    }

    .catalog-pdf-dialog [data-pdf-content] {
        padding: 4px;
    }

}

@media (max-width:1024px) {
    .catalog-detail-download-item>.catalog-detail-download-title {
        grid-area: title;
    }

    .catalog-file-actions {
        grid-area: action;
    }

}

@media (max-width:480px) {
    .catalog-detail-download-item {
        gap: 8px;
        padding: 12px;
    }

    .catalog-file-actions {
        gap: 6px;
    }

    .catalog-detail-download-title {
        overflow-wrap: anywhere;
    }

}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.slide-in-left {
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right {
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    transform: none;
    transition: opacity 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}

.catalog-detail-hero p span {
    color: var(--text-dark);
    font-weight: 700;
}

.catalog-detail-breadcrumbs li+li::before {
    color: var(--action-hover-color);
}

.catalog-nav-body-wrapper {
    border-radius: 0 0 30px 30px;
}

.catalog-nav-columns.catalog-nav-columns--expanded .catalog-nav-item,
.catalog-nav-item.is-expanded {
    border-radius: 30px;
}

/* Product card content: show an ellipsis only when text exceeds three lines. */
.product-card-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Catalog banners keep the aspect ratio of the selected responsive image. */
.page-hero.catalog-banner {
    max-height: none;
}

.catalog-banner picture,.catalog-banner img {
    display: block;
}

.catalog-banner img {
    width: 100%;
    height: auto;
    max-height: none;
}

/* Product card arrow circle */
.product-card .arrow-circle {
    background: var(--text-controls);
    color: var(--white);
}

.product-card .arrow-circle svg {
    stroke: var(--white);
}

.product-card:hover .arrow-circle {
    background: var(--white);
    color: var(--text-controls);
}

.product-card:hover .arrow-circle svg {
    stroke: var(--text-controls);
}

.product-card:hover .btn-more {
    color: var(--action-hover-color);
}

.text-content p a, .catalog-detail-richtext p a, p a {
    color: var(--action-hover-color);
}

/* Search interactions use the CBRNe palette. */
.search-page a.omit-link-color,
.search-page .search-result-content h2 a,
.search-page .search-result-more,
.search-page .search-pagination a {
    color: var(--text-dark);
}

.search-page .search-result-content h2 a:hover,
.search-page .search-result-more:hover {
    color: var(--primary-dark);
}

.search-form-row button:hover,
.search-form-row button:focus-visible {
    color: var(--text-dark);
}

.search-result-more:hover svg {
    stroke: var(--text-dark);
}

.search-message--correction {
    margin-block: 1rem;
}

.footer-top-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 90px;
}

@media (max-width: 700px) {
    .footer-top-image {
        margin-top: 50px;
    }
}
