:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f6f8fc;
    --color-text: #0f1729;
    --color-text-muted: #5b6478;
    --color-border: #e5e8f0;
    --color-primary: #0b62d6;
    --color-primary-dark: #084a9e;
    --color-primary-soft: #e8f0fc;
    --color-accent: #ff7a00;
    --color-accent-dark: #e36b00;
    --color-success: #16a37e;
    --color-warning: #ffb020;
    --color-card: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.06), 0 1px 3px rgba(15, 23, 41, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 41, 0.06), 0 2px 6px rgba(15, 23, 41, 0.04);
    --shadow-lg: 0 12px 30px rgba(15, 23, 41, 0.1), 0 4px 12px rgba(15, 23, 41, 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 5rem;
    --container: 1200px;
    --container-narrow: 760px;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
}

img, svg { max-width: 100%; display: block; }

input, textarea, select { touch-action: pan-y; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 {
    margin: 0 0 var(--space-3);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text);
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }

p { margin: 0 0 var(--space-3); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
}
.container-narrow { max-width: var(--container-narrow); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-3) var(--space-5);
    z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .1s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 122, 0, 0.45);
}
.btn-secondary {
    background: var(--color-primary);
    color: #fff;
}
.btn-secondary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-ghost:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}
.btn-large { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.875rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    height: 72px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.logo:hover { color: var(--color-text); }
.logo-tld { color: var(--color-primary); font-weight: 800; }

/* Categories CTA */
.categories-cta { text-align: center; margin-top: 2.5rem; }
.categories-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e8f0fc;
    color: #0b62d6;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid #0b62d6;
    border-radius: 2rem;
    padding: 0.55rem 1.4rem;
    text-decoration: none;
}
.categories-cta a:hover,
.categories-cta a:active,
.categories-cta a:focus {
    background: #e8f0fc;
    color: #0b62d6;
    border-color: #0b62d6;
}
.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 36px; height: 36px;
    color: var(--color-primary);
}
.logo-mark img { display: block; width: 100%; height: 100%; }
/* Header logo - desktop (+20 %) */
.site-header .logo,
.site-footer .logo { font-size: 1.155rem; }
.site-header .logo-mark { display: none; }
.site-footer .logo-mark { width: 40px; height: 40px; }
.site-header .logo { font-size: 1.386rem; }
/* Header logo - mobile (+20 %) */
@media (max-width: 640px) {
    .site-header .logo,
    .site-footer .logo { font-size: 1.1rem; }
    .site-header .logo-mark { display: none; }
    .site-footer .logo-mark { width: 38px; height: 38px; }
    .site-header .logo { font-size: 1.32rem; }
}
/* Mobile nav - Můj účet items (hidden on desktop, shown in drawer) */
.nav-account-sep { display: none; }
.nav-account-item { display: none; }
@media (max-width: 720px) {
    .nav-account-sep { display: block; border-top: 1px solid var(--color-border); margin: 4px 0; list-style: none; }
    .nav-account-item { display: block; }
}
.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.primary-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-5);
    margin: 0;
    padding: 0;
}
.primary-nav a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--color-text); }
.btn-header { margin-left: auto; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.header-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.header-icon-btn:hover {
    background: var(--color-bg-subtle);
    color: var(--color-text);
}
.header-icon-btn--facebook { color: #1877f2; }
.header-icon-btn--facebook:hover { background: var(--color-bg-subtle); color: #1877f2; opacity: 0.85; }
.header-user-label { white-space: nowrap; }
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0.7rem;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform .15s ease, opacity .15s ease;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: var(--space-10) 0 var(--space-8);
    background:
        radial-gradient(ellipse 80% 60% at 80% -10%, rgba(11, 98, 214, 0.12), transparent 60%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255, 122, 0, 0.08), transparent 60%),
        var(--color-bg-alt);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-8);
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(22, 163, 126, 0.12);
    color: var(--color-success);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}
.hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 4px rgba(22, 163, 126, 0.18);
}
.hero-title { margin-bottom: var(--space-4); }
.text-accent {
    color: var(--color-primary);
    background: linear-gradient(120deg, var(--color-primary) 0%, #4b89e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin-bottom: var(--space-5);
}
.hero-cta {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}
.hero-trust {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-trust svg { color: var(--color-success); }

.hero-visual {
    position: relative;
    height: 360px;
}
.hero-card {
    position: absolute;
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-5);
    width: 280px;
}
.hero-card-1 {
    top: 20px; left: 30px;
    transform: rotate(-3deg);
    z-index: 2;
}
.hero-card-2 {
    bottom: 20px; right: 0;
    transform: rotate(4deg);
    z-index: 1;
    width: 240px;
    opacity: 0.9;
}
.hero-card-head {
    display: flex; gap: 6px; margin-bottom: 1rem;
}
.hero-card-head span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--color-border);
}
.hero-card-line {
    height: 10px;
    background: var(--color-bg-alt);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}
.hero-card-line.w-50 { width: 50%; }
.hero-card-line.w-60 { width: 60%; }
.hero-card-line.w-70 { width: 70%; }
.hero-card-line.w-80 { width: 80%; }
.hero-card-line.w-90 { width: 90%; }
.hero-card-stamp {
    position: absolute;
    bottom: 18px; right: 18px;
    background: rgba(22, 163, 126, 0.12);
    color: var(--color-success);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-sm);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}
.stat { text-align: left; }
.stat strong {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
}
.stat span {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

/* Sections */
.section {
    padding: var(--space-12) 0;
}
.product-detail-section {
    padding-top: 0.6125rem;
}
.section-alt {
    background: var(--color-bg-alt);
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}
.section-head p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin: 0;
}
.section-action {
    text-align: center;
    margin-top: var(--space-6);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
}
.category-card {
    display: block;
    padding: var(--space-6);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: var(--color-text);
}
.category-icon {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}
.category-card h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.category-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0 0 var(--space-3);
}
.category-count {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.92rem;
}
@media (max-width: 640px) {
    .categories-grid .category-card:nth-child(n+5) { display: none; }
    #kategorie .section-head,
    #kategorie .section-head p,
    .category-card,
    .category-icon { text-align: center; }
    .category-icon { margin-left: auto; margin-right: auto; }
}

/* Forms grid */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}
.form-card {
    position: relative;
    padding: var(--space-5);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.form-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.form-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--color-accent);
    color: #fff;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.form-category {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.form-title {
    font-size: 1.05rem;
    margin-bottom: var(--space-3);
}
.form-title a {
    color: var(--color-text);
}
.form-title a:hover { color: var(--color-primary); }
.form-meta {
    display: flex;
    gap: var(--space-4);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}
.form-downloads {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 0.18rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #15803d;
    white-space: nowrap;
}
.form-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}
.form-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}
.benefit { padding: var(--space-3) 0; }
.benefit-icon {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(11, 98, 214, 0.08);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}
.benefit h3 { font-size: 1.1rem; }
.benefit p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Why-choose: 3 hero cards + trust strip */
.why-hero3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}
.why-card {
    text-align: center;
    padding: var(--space-5);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.why-ic {
    display: inline-grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4b89e8 100%);
    color: #fff;
    margin-bottom: var(--space-3);
    box-shadow: 0 6px 16px rgba(11, 98, 214, 0.3);
}
.why-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.why-card p { color: var(--color-text-muted); margin: 0; font-size: 0.95rem; }
.why-strip {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-6);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3) var(--space-6);
}
.why-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
}
.why-strip-item .num { color: var(--color-primary); font-weight: 800; }
@media (max-width: 900px) { .why-hero3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .why-strip { gap: var(--space-2) var(--space-4); font-size: 0.9rem; } }

/* Steps */
.steps {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    counter-reset: step;
}
.compat-row { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.compat-label { font-size: 0.92rem; color: var(--color-text-muted); font-weight: 600; }
.compat-item { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--color-text); }
.compat-item svg { color: var(--color-primary); }
.compat-item-ios svg { color: #000; }
.compat-divider { width: 1px; height: 22px; background: var(--color-border); }
@media (max-width: 600px) { .compat-row { gap: 0.6rem; } .compat-label { width: 100%; text-align: center; margin-bottom: 0.25rem; } .compat-divider { display: none; } }
.section-cta { display: flex; justify-content: center; margin-top: var(--space-6); }
.section-benefits { padding-bottom: calc(var(--space-12) / 2); }
#predplatne.section { padding-top: calc(var(--space-12) / 2); }
.step {
    text-align: center;
    padding: var(--space-5);
    background: var(--color-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.step-num {
    display: inline-grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4b89e8 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
    box-shadow: 0 6px 16px rgba(11, 98, 214, 0.3);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--color-text-muted); margin: 0; }

/* Testimonials carousel */
.testimonials-carousel {
    position: relative;
    width: 100%;
    padding: 0 3rem;
    box-sizing: border-box;
}
.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    padding-bottom: 12px;
    margin-bottom: -12px;
}
.testimonials-track {
    display: flex;
    will-change: transform;
    align-items: stretch;
}
.testimonials-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15,23,41,0.08);
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
    z-index: 2;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.testimonials-arrow:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.testimonials-arrow:active { transform: translateY(-50%) scale(0.95); }
.testimonials-arrow-prev { left: 0; }
.testimonials-arrow-next { right: 0; }
@media (max-width: 640px) {
    .testimonials-carousel { padding: 0 0.5rem; }
    .testimonials-arrow { width: 36px; height: 36px; }
}
.testimonial {
    flex: 0 0 25%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
}
.testimonials-carousel-3 .testimonial { flex: 0 0 33.3333%; }
@media (max-width: 960px) {
    .testimonials-carousel-3 .testimonial { flex: 0 0 50%; }
}
@media (max-width: 640px) {
    .testimonials-carousel-3 .testimonial { flex: 0 0 100%; }
}
.testimonial-inner {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}
.testimonial-rating {
    color: var(--color-warning);
    margin-bottom: var(--space-3);
    font-size: 1.05rem;
    letter-spacing: 2px;
}
.star-half {
    display: inline-block;
    overflow: hidden;
    width: 0.5em;
    vertical-align: top;
}
.testimonial blockquote {
    margin: 0 0 var(--space-4);
    color: var(--color-text);
    font-size: 0.97rem;
    line-height: 1.65;
    flex: 1;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}
.t-mobile { display: none; }
@media (max-width: 640px) {
    .t-desktop { display: none; }
    .t-mobile { display: inline; }
}
.testimonial figcaption strong {
    display: block;
    color: var(--color-text);
    text-align: left;
}
.testimonial figcaption span {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    text-align: left;
}
.testimonial-verified {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    background: #dcfce7;
    color: #15803d !important;
    font-size: 0.72rem !important;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    width: fit-content;
}
@media (max-width: 960px) {
    .testimonial { flex: 0 0 50%; }
}
@media (max-width: 640px) {
    .testimonial { flex: 0 0 100%; padding: 0; }
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.faq-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: var(--space-4) var(--space-5);
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--color-text-muted);
    transition: transform .15s ease;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-answer {
    padding: 0 var(--space-5) var(--space-4);
    color: var(--color-text-muted);
}

/* Breadcrumb */
.breadcrumb {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin: 1rem 0 1.5rem;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text); }

/* Category landing (compact hero) */
.hero.hero-category {
    padding: var(--space-6) 0 var(--space-5);
}
.hero-category .breadcrumb { margin-bottom: var(--space-3); }
.hero-category .hero-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.hero-category .hero-lead { max-width: 720px; margin-bottom: var(--space-3); }
.category-count-line {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}
.category-count-line strong { color: var(--color-text); }

/* Product (document detail) */
.product-page { padding-top: 1rem; }
.product-main-full { max-width: 880px; margin: 0 auto; }
.product-main h1 { margin: 0.5rem 0 1rem; }
.product-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.product-top-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.product-updated-badge { margin-bottom: 0; font-size: 0.8rem; padding: 0.35rem 0.75rem; }
@media (max-width: 600px) { .product-top-row { flex-direction: column; } .product-updated-badge { align-self: flex-start; } }
.product-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: left;
}
.product-lead h1, .product-lead h2, .product-lead h3 {
    color: var(--color-text);
    margin: 0.75rem 0 0.5rem;
}
.product-lead h1:first-child { margin-top: 0; }
.product-lead h1 { font-size: 1.6rem; }
.product-lead h2 { font-size: 1.3rem; }
.product-lead h3 { font-size: 1.1rem; }
.product-lead p { margin: 0 0 0.5rem; }
.product-lead ul, .product-lead ol { margin: 0 0 0.5rem 1.5rem; }
.product-price-box {
    background: #fff;
    border: 1px solid #e2e7f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0 1.75rem;
    box-shadow: 0 1px 8px rgba(15,23,41,.06);
}
.product-price-box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.1rem;
}
.product-price-box-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.product-price-label-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5b6478;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-bottom: 0.2rem;
}
.product-price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
    letter-spacing: -0.025em;
}
.product-price-note {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 0.3rem;
}
.product-price-note a { color: #0b62d6; text-decoration: none; }
.product-price-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-success);
}
.product-price-box-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    flex-shrink: 0;
}
.product-price-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1;
}
.product-price-stars .star { color: #e2e7f0; }
.product-price-stars .star.is-full { color: #f59e0b; }
.product-price-stars .star.is-half {
    background: linear-gradient(90deg, #f59e0b 50%, #e2e7f0 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.product-price-rating-text {
    font-size: 0.78rem;
    color: #5b6478;
}
.product-price-downloads {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 0.18rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #15803d;
    white-space: nowrap;
}
.product-price-box-separator {
    height: 1px;
    background: #e8eaf0;
    margin-bottom: 1.1rem;
}
.product-price-box-actions {
    display: flex;
    gap: 0.65rem;
    align-items: stretch;
    justify-content: stretch;
    margin-top: 0.25rem;
}
.product-price-box-actions .product-buy-cta-inline { flex: 1; padding: 0.8rem 1.25rem !important; font-size: 0.95rem !important; border-radius: 9px !important; }
.product-buy-cta-inline {
    min-width: 0 !important;
    padding: 0.65rem 1.35rem !important;
    font-size: 0.92rem !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s !important;
}
.product-buy-cta-red {
    background: #e53e4e !important;
    color: #fff !important;
}
.product-buy-cta-red:hover {
    background: #cc3543 !important;
    color: #fff !important;
}
.product-buy-cta-ghost {
    background: #e8f0fc !important;
    color: #0b62d6 !important;
    border: 1.5px solid #0b62d6 !important;
}
.product-buy-cta-ghost:hover,
.product-buy-cta-ghost:active,
.product-buy-cta-ghost:focus {
    background: #e8f0fc !important;
    color: #0b62d6 !important;
}
.product-price-formats {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: right;
}
@media (max-width: 640px) {
    .product-price-box { padding: 1.25rem 1.1rem; }
    .product-price-box-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
    .product-price-box-social { align-items: flex-start; }
    .product-price-box-actions { flex-direction: column; }
    .product-price-formats { text-align: left; }
    .product-buy-cta-bottom { display: none; }
    .product-cta-above-reviews { display: none; }
}
.product-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
}
.product-bullets li { padding: 0.25rem 0; }
.product-cta-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1.5rem;
    font-size: 0.86rem;
    color: var(--color-text);
}
.product-cta-checklist li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text);
}
.product-cta-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 640px) {
    .product-cta-checklist { grid-template-columns: 1fr; }
}

/* Sticky mobile CTA - zobrazí sa keď hlavný CTA opustí zorný úsek */
.product-sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 18px rgba(15,23,41,0.08);
    transform: translateY(110%);
    transition: transform 0.22s ease;
}
.product-sticky-cta[hidden] { display: none; }
.product-sticky-cta.is-visible { transform: translateY(0); }
.product-sticky-cta-btn {
    display: block;
    width: 100%;
    padding: 0.95rem 1rem;
    background: #e53e4e;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229,62,78,0.35);
    transition: background 0.15s;
}
.product-sticky-cta-btn:hover,
.product-sticky-cta-btn:active { background: #cc3543; color: #fff; }
@media (max-width: 768px) {
    .product-sticky-cta:not([hidden]) { display: block; }
}
@media (min-width: 769px) {
    .product-sticky-cta { display: none !important; }
}
.product-pitch {
    margin: 1.25rem 0 0;
}
.product-pitch-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}
.product-pitch-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 1rem 0.75rem;
    background: #fafbff;
    border: 1px solid #e6ecf6;
    border-radius: 10px;
}
.product-pitch-step-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-primary, #0b62d6);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.product-pitch-step-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.product-pitch-step-body strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}
.product-pitch-step-body span {
    font-size: 0.8rem;
    color: var(--color-text-muted, #5b6478);
    line-height: 1.4;
}
@media (max-width: 600px) {
    .product-pitch-steps {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .product-pitch-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0.75rem;
        padding: 0.75rem 0.85rem;
    }
    .product-pitch-step-body { flex: 1; }
}
.product-description {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
    overflow-x: hidden;
}
.product-description h2 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}
.product-description p,
.product-description ul,
.product-description ol {
    line-height: 1.7;
    margin: 0 0 0.75rem;
}
.product-description ul,
.product-description ol { padding-left: 1.5rem; }

/* Hlavní red CTA - používá se pod popisem dokumentu i pod SEO textem */
.product-buy-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2.5rem 0 0;
    text-align: center;
}
.product-buy-cta,
.product-buy-cta:disabled,
.product-buy-cta[disabled] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    padding: 1rem 2.75rem;
    border: 0;
    border-radius: 8px;
    background: #e53e4e;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 2px 4px rgba(229, 62, 78, 0.2);
    transition: background 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.product-buy-cta:hover {
    background: #cc3543;
    color: #fff;
    box-shadow: 0 4px 10px rgba(229, 62, 78, 0.3);
}
.product-buy-cta:active { background: #b42f3b; }
.product-buy-cta[disabled] { cursor: not-allowed; }
.product-buy-cta[disabled]:hover { background: #e53e4e; box-shadow: 0 2px 4px rgba(229, 62, 78, 0.2); }

.product-buy-cta-bottom {
    padding-top: 0;
    padding-bottom: var(--space-10);
}

/* Balíček upsell na stránce dokumentu */
.bundle-upsell-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #f8faff;
    border: 1.5px solid #c7d9f8;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    position: relative;
}
.bundle-upsell-badge {
    position: absolute;
    top: -11px;
    left: 1.25rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.bundle-upsell-body { flex: 1; min-width: 0; }
.bundle-upsell-title { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; }
.bundle-upsell-desc { font-size: 0.875rem; color: var(--color-text-muted); margin: 0 0 0.6rem; }
.bundle-upsell-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.bundle-upsell-docs li { font-size: 0.82rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.3rem; }
.bundle-upsell-docs svg { color: #059669; flex-shrink: 0; }
.bundle-upsell-action { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; flex-shrink: 0; min-width: 130px; }
.bundle-upsell-price { font-size: 1.35rem; font-weight: 800; color: var(--color-text); white-space: nowrap; }
.bundle-upsell-note { font-size: 0.78rem; color: var(--color-text-muted); }
@media (max-width: 560px) {
    .bundle-upsell-card { flex-direction: column; }
    .bundle-upsell-action { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* Podobné tlačivá */
.similar-docs-section { background: var(--color-bg-alt); }
.similar-docs-title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.similar-docs-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .similar-docs-grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 1000px) { .similar-docs-grid { grid-template-columns: repeat(2, 1fr); } }
.similar-doc-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.similar-doc-stars { display: inline-flex; align-items: center; gap: 0.3rem; color: #f59e0b; font-size: 0.95rem; letter-spacing: 1px; }
.similar-doc-stars .star { color: #e2e7f0; }
.similar-doc-stars .star.is-full { color: #f59e0b; }
.similar-doc-stars .star.is-half { background: linear-gradient(90deg, #f59e0b 50%, #e2e7f0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.similar-doc-rating-text { font-size: 0.78rem; font-weight: 600; color: #5b6478; letter-spacing: 0; margin-left: 0.15rem; }
.similar-doc-downloads { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 20px; padding: 0.18rem 0.6rem; font-size: 0.74rem; font-weight: 600; color: #15803d; white-space: nowrap; }

/* Scroll-to-top tlačidlo */
.scroll-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.5rem;
    z-index: 200;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #0b62d6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(11,98,214,0.35);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s, transform 0.2s, background 0.15s;
    pointer-events: none;
}
.scroll-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-to-top[hidden] { display: none; }
.scroll-to-top:hover { background: #084a9e; }
@media (max-width: 768px) {
    .scroll-to-top { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* Objednávkový modal */
.order-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    overflow: hidden;
}
.order-modal[hidden] { display: none; }
.order-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 41, 0.55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.order-modal-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 41, 0.3);
    width: 100%;
    max-width: 520px;
    max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: orderModalIn 0.2s ease-out;
}
@keyframes orderModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.order-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
}
.order-modal-head h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--color-text);
    font-weight: 700;
}
.order-modal-close {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border: 0;
    border-radius: 8px;
    background: var(--color-bg-alt);
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}
.order-modal-close:hover { background: #dbe1ea; }
.order-modal-body { padding: 1.25rem 1.5rem 1.5rem; overflow-y: auto; }

.order-form { display: block; }
.order-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.order-field label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
}
.order-optional { color: var(--color-text-muted); font-weight: 400; font-size: 0.85em; }
.order-field input[type="text"],
.order-field input[type="email"] {
    padding: 0.75rem 0.95rem;
    border: 1.5px solid #e3e7ef;
    border-radius: 10px;
    background: #f5f7fb;
    color: var(--color-text);
    font: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.order-field input::placeholder { color: #9aa1b1; }
.order-field input:hover { border-color: #cbd2dd; }
.order-field input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 98, 214, 0.12);
}
.order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.order-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
}
.order-checkbox input { width: 18px; height: 18px; accent-color: var(--color-primary); cursor: pointer; }

.order-company { padding: 0.75rem 1rem 0.25rem; background: #f5f7fb; border-radius: 10px; margin-bottom: 1rem; }

.order-discount { display: flex; gap: 0.5rem; }
.order-discount input { flex: 1; }
.order-discount-btn {
    padding: 0 1.1rem;
    border: 1.5px solid #e3e7ef;
    border-radius: 10px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.order-discount-btn:hover { background: var(--color-bg-alt); border-color: #cbd2dd; }

.order-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.25rem 0 0.75rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
}
.order-price-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}
.order-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    letter-spacing: -0.01em;
}

.order-payments { display: flex; gap: 0.5rem; margin: 0.75rem 0 1rem; align-items: center; flex-wrap: wrap; }
.order-pay-icon {
    height: 36px;
    min-width: 56px;
    padding: 0 0.6rem;
    background: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
    box-sizing: border-box;
}
.order-pay-visa { color: #1a1f71; font-style: italic; letter-spacing: 0.05em; }
.order-pay-mc { gap: 0; padding: 0 0.7rem; position: relative; }
.order-pay-mc .mc-c1, .order-pay-mc .mc-c2 {
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-block;
}
.order-pay-mc .mc-c1 { background: #eb001b; margin-right: -7px; }
.order-pay-mc .mc-c2 { background: #f79e1b; }
.order-pay-img {
    display: block;
    height: 36px;
    width: auto;
    box-sizing: border-box;
    border: 1px solid #000;
    border-radius: 6px;
}
.order-payments-label { font-size: 0.78rem; color: var(--color-muted, #5b6478); margin: -0.4rem 0 0.85rem; }

.order-express-wrap { margin: 0 0 0.85rem; }
.order-express-wrap #express-checkout-element { min-height: 48px; }
.order-express-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.85rem 0 0;
    color: var(--color-muted, #5b6478);
    font-size: 0.78rem;
}
.order-express-divider::before,
.order-express-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border, #e3e7ef);
}

.order-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 10px;
    background: #16a37e;
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 163, 126, 0.35);
    transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
}
.order-submit:hover { background: #128467; box-shadow: 0 6px 18px rgba(22, 163, 126, 0.45); }
.order-submit:active { transform: translateY(1px); }
.order-submit:disabled { background: #88a397; cursor: wait; box-shadow: none; }

.order-error {
    background: #fbe9ed;
    color: #8e2438;
    border: 1px solid #f4cbd3;
    padding: 0.7rem 0.95rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
}

.order-sub-hint {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding: 0.7rem 0.85rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 1px solid #fcd9a4;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.15s ease;
}
.order-sub-hint:hover { border-color: #f59e0b; background: linear-gradient(135deg, #ffedd5 0%, #fde68a 100%); transform: translateY(-1px); }
.order-sub-hint-icon { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f59e0b; color: #fff; border-radius: 50%; font-size: 1rem; font-weight: 700; }
.order-sub-hint-text { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; line-height: 1.35; }
.order-sub-hint-text strong { font-size: 0.92rem; font-weight: 600; color: var(--color-text); }
.order-sub-hint-text span { font-size: 0.82rem; color: var(--color-text-muted); }
.order-sub-hint-arrow { font-size: 1.1rem; color: #b45309; flex-shrink: 0; transition: transform 0.15s ease; }
.order-sub-hint:hover .order-sub-hint-arrow { transform: translateX(3px); }

.order-trust {
    list-style: none;
    padding: 0.65rem 0.9rem;
    margin: 1rem 0 0;
    background: var(--color-bg-alt, #f6f8fc);
    border: 1px solid var(--color-border, #e5e8f0);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--color-text-muted, #5b6478);
    line-height: 1.5;
}
.order-trust li {
    padding: 0.28rem 0;
    border-bottom: 1px solid var(--color-border, #e5e8f0);
    padding-left: 1rem;
    position: relative;
}
.order-trust li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-primary, #0b62d6);
    opacity: 0.5;
}
.order-trust li:last-child { border-bottom: 0; }

.order-success { text-align: center; padding: 1.5rem 0.5rem 0.5rem; }
.order-success-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    background: #16a37e;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
}
.order-success h3 { margin: 0 0 0.5rem; font-size: 1.25rem; color: var(--color-text); }
.order-success p { margin: 0 0 0.5rem; color: var(--color-text); line-height: 1.55; }
.order-success-meta { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.5rem !important; }
.order-success-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
}
.order-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    background: #16a37e;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.98rem;
    transition: background 0.15s;
}
.order-download-btn:hover { background: #128467; color: #fff; }
.order-download-btn.order-download-docx { background: #0b62d6; }
.order-download-btn.order-download-docx:hover { background: #084a9e; }

@media (max-width: 480px) {
    .order-modal {
        padding: 0;
        align-items: flex-end;
    }
    .order-modal-card {
        max-width: 100%;
        width: 100%;
        max-width: 100vw;
        max-height: 95dvh;
        border-radius: 16px 16px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
        overflow-x: hidden;
        touch-action: pan-y;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .order-modal-body {
        overscroll-behavior: contain;
        overflow-x: hidden;
    }
    .order-row { grid-template-columns: 1fr; }
    .order-modal-head h2 { font-size: 1.05rem; }
    .order-modal-head { padding: 1rem 1.25rem 0.6rem; }
    .order-modal-body { padding: 1rem 1.25rem 1.25rem; }
}

/* Reviews carousel section */
.section-reviews {
    background: var(--color-bg);
    padding: var(--space-10) 0 var(--space-8);
}
.section-head-center { text-align: center; max-width: 720px; margin: 0 auto var(--space-6); }
.section-eyebrow {
    display: block;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.section-head-center h2 { margin: 0; }

.reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.review-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 6px 20px rgba(15, 23, 41, 0.05);
    text-align: left;
}
.review-stars {
    color: var(--color-warning);
    letter-spacing: 4px;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}
.review-card blockquote {
    margin: 0 0 1rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--color-text);
    font-size: 0.98rem;
    text-align: justify;
}
.review-card figcaption {
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.95rem;
}
@media (max-width: 640px) {
    .review-card { padding: 1.25rem 1.25rem; }
}

/* "Vyplnit formulář" - primární akce pod krátkým popisem */
.product-fill-cta-wrap {
    text-align: center;
    margin: 0.75rem 0 1.5rem;
}
.product-fill-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9a3c 100%);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.product-fill-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.45);
    color: #fff;
    filter: brightness(1.05);
}
.product-fill-cta:active { transform: translateY(1px); }
.product-fill-cta svg { transition: transform 0.15s; }
.product-fill-cta:hover svg { transform: translateY(2px); }

/* Centrovat akce v embedovaném lease formulári v popisu dokumentu */
#lease-tool .lease-actions { justify-content: center !important; }


@media (max-width: 880px) {
    .product-bullets { grid-template-columns: 1fr; }
}

/* SEO text section under product detail */
.product-seo {
    padding: var(--space-8) 0;
    text-align: left;
}
.product-seo h1, .product-seo h2, .product-seo h3 {
    color: var(--color-text);
    margin: 1.25rem 0 0.5rem;
}
.product-seo h1 { font-size: 1.6rem; }
.product-seo h2 { font-size: 1.3rem; }
.product-seo h3 { font-size: 1.1rem; }
.product-seo p {
    color: var(--color-text);
    line-height: 1.7;
    margin: 0 0 1rem;
}
.product-seo ul, .product-seo ol {
    line-height: 1.7;
    margin: 0 0 1rem 1.5rem;
}
.product-seo a { text-decoration: underline; text-underline-offset: 2px; }
.product-seo blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Responsive table wrapper (for raw-HTML SEO content) */
.responsive-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--color-border, #e3e7ef);
    background: #fff;
}
.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.responsive-table th,
.responsive-table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--color-border, #e3e7ef);
    border-right: 1px solid var(--color-border, #e3e7ef);
    text-align: left;
    vertical-align: top;
}
.responsive-table th:last-child,
.responsive-table td:last-child { border-right: 0; }
.responsive-table tr:last-child td { border-bottom: 0; }
.responsive-table thead th {
    background: var(--color-bg-alt, #f6f9fc);
    font-weight: 600;
    color: var(--color-text, #1a1f36);
    white-space: nowrap;
}
.responsive-table tbody tr:nth-child(even) td { background: rgba(0, 0, 0, 0.02); }
.responsive-table caption {
    padding: 0.6rem 0.85rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--color-border, #e3e7ef);
    background: var(--color-bg-alt, #f6f9fc);
}

@media (max-width: 600px) {
    .responsive-table { border-radius: 6px; }
    .responsive-table table { font-size: 0.875rem; min-width: 480px; }
    .responsive-table th,
    .responsive-table td { padding: 0.5rem 0.65rem; }
}

/* Article (blog detail) */
.section:has(.article-page) { padding-top: 1.5rem; padding-bottom: var(--space-10); }
.article-page { padding-top: 0; max-width: 760px; }
.article-page .breadcrumb { margin-top: 0; margin-bottom: 1.25rem; }
.article-header { margin-bottom: 1.5rem; }
.article-category {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.article-meta {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0.5rem 0 0;
}
.article-featured {
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.article-featured img {
    width: 100%;
    height: auto;
    display: block;
}
.article-excerpt {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
}
.article-content {
    line-height: 1.75;
    font-size: 1.02rem;
}
.article-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}
.article-content h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
}
.article-content p,
.article-content ul,
.article-content ol {
    margin: 0 0 1rem;
}
.article-content ul,
.article-content ol { padding-left: 1.5rem; }
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.article-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}
.article-share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-right: 0.25rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
    white-space: nowrap;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-fb  { background: #1877f2; color: #fff; }
.share-x   { background: #0f1419; color: #fff; }
.share-li  { background: #0a66c2; color: #fff; }
.share-wa  { background: #25d366; color: #fff; }
.share-copy { background: #f1f5f9; color: var(--color-text); border: 1px solid var(--color-border); }
.share-copy--done { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
@media (max-width: 600px) {
    .article-share { gap: 0.5rem; }
    .share-btn { font-size: 0.82rem; padding: 0.4rem 0.7rem; }
    .section:has(.article-page) { padding-top: 0.75rem; }
}
.article-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.article-related-heading {
    margin: 0 0 1.5rem;
    font-size: 1.4rem;
}
.article-related .blog-grid { gap: 1.25rem; }
@media (max-width: 900px) {
    .article-related .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .article-related .blog-grid { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal-page { color: var(--color-text); }
.legal-header { margin-bottom: 2rem; }
.legal-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.legal-meta {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0;
}
.legal-intro {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}
.legal-page h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page h3 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}
.legal-page p,
.legal-page ul {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--color-text);
}
.legal-page ul {
    padding-left: 1.5rem;
}
.legal-page ul li {
    margin-bottom: 0.4rem;
}
.legal-page a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-page a:hover { color: var(--color-primary-dark); }
.legal-contact {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
}
.legal-table th,
.legal-table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.legal-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
}
.legal-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--color-bg-alt);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

/* Contact form (modern) */
.cform-wrap {
    margin: 1.5rem 0 0;
    --cform-border: #e3e7ef;
    --cform-bg: #ffffff;
    --cform-focus: #0b62d6;
    --cform-text: #0f1729;
    --cform-muted: #5b6478;
}
.cform {
    background: var(--cform-bg);
    border: 1px solid var(--cform-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(15, 23, 41, 0.06), 0 2px 8px rgba(15, 23, 41, 0.04);
}
.cform-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.cform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.cform-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.cform-field-full {
    grid-column: 1 / -1;
}
.cform-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cform-text);
    letter-spacing: 0.01em;
}
.cform-req {
    color: #d6435c;
    font-weight: 700;
}
.cform-field input,
.cform-field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid #dde2eb;
    border-radius: 12px;
    background: #ffffff;
    color: var(--cform-text);
    font: inherit;
    font-size: 0.98rem;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s, transform 0.05s;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 1px 2px rgba(15, 23, 41, 0.03);
}
.cform-field input::placeholder,
.cform-field textarea::placeholder {
    color: #aab1c0;
}
.cform-field input:hover,
.cform-field textarea:hover {
    border-color: #b8c0cf;
}
.cform-field input:focus,
.cform-field textarea:focus {
    outline: none;
    border-color: var(--cform-focus);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 98, 214, 0.14), 0 1px 3px rgba(15, 23, 41, 0.05);
}
.cform-field input:not(:placeholder-shown),
.cform-field textarea:not(:placeholder-shown) {
    background: #fafbfd;
    border-color: #c9d0db;
}
.cform-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.55;
    font-family: inherit;
}

.cform-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.cform-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9a3c 100%);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.cform-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(255, 122, 0, 0.45);
    filter: brightness(1.05);
}
.cform-submit:active {
    transform: translateY(1px);
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}
.cform-submit svg {
    transition: transform 0.15s;
}
.cform-submit:hover svg {
    transform: translateX(3px);
}
.cform-disclaimer {
    margin: 0;
    font-size: 0.83rem;
    color: var(--cform-muted);
    flex: 1;
    min-width: 200px;
}
.cform-disclaimer a {
    color: var(--cform-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cform-disclaimer a:hover {
    color: var(--cform-focus);
}

.cform-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.cform-alert strong {
    display: block;
    margin-bottom: 0.15rem;
}
.cform-alert-success {
    background: linear-gradient(180deg, #ecfaf3, #def3e6);
    color: #0e6e54;
    border: 1px solid #c5e6d4;
}
.cform-alert-error {
    background: linear-gradient(180deg, #fde9ee, #f9d6dd);
    color: #8e2438;
    border: 1px solid #f1bcc6;
}
.cform-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 640px) {
    .cform { padding: 1.25rem; border-radius: 14px; }
    .cform-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cform-actions { flex-direction: column-reverse; align-items: stretch; gap: 0.75rem; }
    .cform-submit { justify-content: center; width: 100%; }
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a4ba0 100%);
    color: #fff;
    padding: 1.4rem 0;
}
.cta-inner h2 { font-size: 1.15rem; }
.cta-inner p { font-size: 0.85rem; }

/* Subtle register-account hint strip - homepage, low priority */
.register-hint-strip {
    padding: 1.5rem 0;
    background: #f6f8fc;
    border-top: 1px solid var(--color-border);
}
.register-hint-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 880px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
}
.register-hint-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f0fc;
    color: #0b62d6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-hint-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.register-hint-text strong { color: var(--color-text); font-size: 0.96rem; font-weight: 700; }
.register-hint-text span { color: var(--color-text-muted); font-size: 0.86rem; line-height: 1.45; }
.register-hint-actions { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.register-hint-btn { font-size: 0.88rem !important; padding: 0.55rem 1.1rem !important; }
.register-hint-link { color: var(--color-text-muted); font-size: 0.85rem; text-decoration: none; }
.register-hint-link:hover { color: var(--color-primary); text-decoration: underline; }
@media (max-width: 640px) {
    .register-hint-inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .register-hint-actions { width: 100%; justify-content: flex-start; }
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: var(--space-1); }
.cta-inner p { color: rgba(255,255,255,0.85); margin: 0; }

/* Footer */
.site-footer {
    background: #0f1729;
    color: #c5cad6;
    padding: var(--space-10) 0 var(--space-5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}
.site-footer .logo,
.site-footer .logo:hover {
    color: #fff;
    padding: 0;
    background: none;
    box-shadow: none;
    font-size: 1.6445rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    width: fit-content;
    line-height: 1.2;
    margin: -0.55rem 0 0.35rem;
    gap: 0;
}
.site-footer .logo-mark { display: none; }
.site-footer .logo-text { font-size: 1.6445rem; }
.site-footer .logo-tld { color: #93c5fd; font-weight: 800; }
.site-footer h3 {
    color: #fff;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-3);
}
.site-footer ul {
    list-style: none;
    margin: 0; padding: 0;
}
.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer a { color: #c5cad6; }
.site-footer a:hover { color: #fff; }
.footer-tagline { color: #c5cad6; font-size: 0.95rem; max-width: 320px; }
.footer-meta { font-size: 0.85rem; color: #9aa1b1; margin-top: var(--space-3); }
.footer-bottom {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
}
.footer-bottom p { margin: 0; font-size: 0.88rem; color: #9aa1b1; }

/* Katalog */
.catalog-search { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.catalog-search-input { flex: 1; min-width: 220px; position: relative; display: flex; align-items: center; }
.catalog-search-input svg { position: absolute; left: 14px; color: var(--color-text-muted); pointer-events: none; }
.catalog-search-input input { width: 100%; padding: 0.7rem 1rem 0.7rem 2.7rem; border: 1px solid var(--color-border); border-radius: 8px; font: inherit; font-size: 0.98rem; box-sizing: border-box; background: #fff; }
.catalog-search-input input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(11,98,214,0.15); }

.catalog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.catalog-cat-link { padding: 0.4rem 1rem; border-radius: 20px; border: 1px solid var(--color-border); background: #fff; color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.catalog-cat-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.catalog-cat-link.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.catalog-cat-count { font-size: 0.78rem; opacity: 0.75; margin-left: 0.25rem; }

.catalog-count { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 1rem; }
.catalog-empty { padding: 3rem 1rem; text-align: center; color: var(--color-text-muted); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.catalog-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; transition: box-shadow 0.15s, border-color 0.15s; }
.catalog-card:hover { box-shadow: 0 4px 20px rgba(15,23,41,0.08); border-color: #c8d4e6; }
.catalog-card-cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); }
.catalog-card-title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.catalog-card-title a { color: var(--color-text); text-decoration: none; }
.catalog-card-title a:hover { color: var(--color-primary); }
.catalog-card-excerpt { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; flex: 1; line-height: 1.5; }
.catalog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid #f0f3f8; }
.catalog-card-price { font-size: 1.1rem; font-weight: 700; color: var(--color-text); }

@media (max-width: 960px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalog-grid { grid-template-columns: 1fr; } .catalog-search { flex-direction: column; } .catalog-search-input { min-width: 0; } }

@media (max-width: 720px) {
    .catalog-cats,
    .blog-cats {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        margin-bottom: 1.25rem;
        background: #fff;
        border: 1px solid var(--color-border, #e3e7ef);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 1px 2px rgba(15, 23, 41, 0.04);
    }
    .catalog-cat-link,
    .blog-cat-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
        padding: 0.85rem 1rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0.95rem;
        color: var(--color-text, #0f1729);
        border-bottom: 1px solid #f0f3f8;
    }
    .catalog-cat-link:last-child,
    .blog-cat-link:last-child {
        border-bottom: 0;
    }
    .catalog-cat-link:hover,
    .blog-cat-link:hover {
        background: #f5f7fb;
        border-color: #f0f3f8;
        color: var(--color-primary, #0b62d6);
    }
    .catalog-cat-link.is-active,
    .blog-cat-link.is-active {
        background: rgba(11, 98, 214, 0.08);
        border-color: #f0f3f8;
        color: var(--color-primary, #0b62d6);
    }
    .catalog-cat-link.is-active::before,
    .blog-cat-link.is-active::before {
        content: '';
        width: 3px;
        height: 18px;
        background: var(--color-primary, #0b62d6);
        border-radius: 2px;
        margin-right: -0.4rem;
        flex-shrink: 0;
    }
    .catalog-cat-count,
    .blog-cat-count {
        background: rgba(15, 23, 41, 0.06);
        color: var(--color-text-muted, #5b6478);
        padding: 2px 9px;
        border-radius: 999px;
        margin-left: auto;
        font-size: 0.74rem;
        font-weight: 700;
        opacity: 1;
        flex-shrink: 0;
    }
    .catalog-cat-link.is-active .catalog-cat-count,
    .blog-cat-link.is-active .blog-cat-count {
        background: var(--color-primary, #0b62d6);
        color: #fff;
    }
    /* Collapsed state — only active link visible */
    .catalog-cats.cats-collapsed .catalog-cat-link:not(.is-active),
    .blog-cats.cats-collapsed .blog-cat-link:not(.is-active) {
        display: none;
    }
    .catalog-cats.cats-collapsed .catalog-cat-link.is-active,
    .blog-cats.cats-collapsed .blog-cat-link.is-active {
        border-bottom: 0;
    }
    /* Chevron on active link to hint expand */
    .catalog-cats.cats-collapsed .catalog-cat-link.is-active::after,
    .blog-cats.cats-collapsed .blog-cat-link.is-active::after {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-3px);
        flex-shrink: 0;
        margin-left: 0.25rem;
        opacity: 0.6;
    }
}

/* Blog */
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.blog-cat-link { padding: 0.4rem 1rem; border-radius: 20px; border: 1px solid var(--color-border); background: #fff; color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.blog-cat-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.blog-cat-link.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.blog-cat-count { font-size: 0.78rem; opacity: 0.75; margin-left: 0.25rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s; }
.blog-card:hover { box-shadow: 0 4px 20px rgba(15,23,41,0.1); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: #e8edf4; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s, opacity 0.25s; }
.blog-card-img img:not([src]) { opacity: 0; }
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.blog-card-cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); text-decoration: none; }
.blog-card-title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.blog-card-title a { color: var(--color-text); text-decoration: none; }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-excerpt { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; flex: 1; }
.blog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }
.blog-card-date { font-size: 0.82rem; color: var(--color-text-muted); }
.blog-card-more { font-size: 0.88rem; font-weight: 600; color: var(--color-primary); text-decoration: none; white-space: nowrap; }
.blog-card-more:hover { text-decoration: underline; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.pagination-btn { padding: 0.5rem 1.25rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: border-color 0.15s, color 0.15s; }
.pagination-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination-info { font-size: 0.9rem; color: var(--color-text-muted); }

@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .primary-nav,
    .btn-header { display: none; }
    .header-actions { margin-left: auto; }
    .header-user-label { display: none; }
    .primary-nav.is-open {
        display: block;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-4) var(--space-5);
    }
    .primary-nav.is-open ul {
        flex-direction: column;
        gap: var(--space-3);
    }
    .header-inner { gap: var(--space-3); }
    .section { padding: var(--space-8) 0; }
    .product-detail-section { padding-top: 0.1225rem; }
    .hero { padding: var(--space-8) 0; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
    .cta-inner { text-align: center; flex-direction: column; }
    .cta-inner h2 { font-size: 1.05rem; }
    .section-head { margin-bottom: 1.5rem; }
    .steps { gap: var(--space-4); }
    .why-hero3 { gap: var(--space-4); }
    .faq-list { gap: var(--space-2); }
}

/* ─── Footer social ─────────────────────────────────────────── */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom-left { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social-link { display: inline-flex; align-items: center; gap: 0.4rem; color: #1877f2; font-size: 0.88rem; text-decoration: none; transition: color 0.15s, opacity 0.15s; }
.footer-social-link:hover { color: #1877f2; opacity: 0.85; }

/* ─── Mobile footer redesign (≤720px) ─────────────────────── */
@media (max-width: 720px) {
    .site-footer {
        padding: var(--space-8) 0 var(--space-5);
        background:
            radial-gradient(80% 60% at 50% 0%, rgba(11,98,214,0.18), transparent 70%),
            #0f1729;
    }

    /* Brand block centered, full width */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5) var(--space-4);
        margin-bottom: var(--space-5);
    }
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: var(--space-5);
        margin-bottom: var(--space-2);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-brand .logo { display: inline-flex; }
    .footer-tagline {
        max-width: 320px;
        margin: var(--space-3) auto 0;
        text-align: center;
    }

    /* Logo - text-only wordmark on dark bg (M4) */
    .site-footer .logo,
    .site-footer .logo:hover {
        padding: 0;
        background: none;
        box-shadow: none;
        font-size: 1.58125rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        margin: 0 auto 0.75rem;
        gap: 0;
    }
    .site-footer .logo-mark { display: none; }
    .site-footer .logo-text { font-size: 1.58125rem; }

    /* Compact column headings + links */
    .site-footer h3 {
        font-size: 0.74rem;
        letter-spacing: 0.08em;
        margin-bottom: var(--space-2);
        color: #fff;
    }
    .site-footer ul li { margin-bottom: 0.35rem; }
    .site-footer ul li a { font-size: 0.92rem; line-height: 1.5; }
    .footer-meta { font-size: 0.8rem; margin-top: var(--space-2); }

    /* Footer bottom - centered stack */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-3);
        padding-top: var(--space-4);
    }
    .footer-bottom-left { align-items: center; }
    .footer-bottom p { font-size: 0.8rem; line-height: 1.55; }
    .footer-legal { color: #8088a0 !important; }
    .footer-social { margin-top: var(--space-1); }
    .footer-social-link {
        padding: 0.4rem 0.85rem;
        background: rgba(24,119,242,0.12);
        border: 1px solid rgba(24,119,242,0.3);
        border-radius: 999px;
        color: #79b8ff !important;
    }
}

/* Very narrow screens - single column for links */
@media (max-width: 380px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ─── Auth pages (login / register) ────────────────────────── */
.auth-section { padding: var(--space-12) 0; min-height: 60vh; display: flex; align-items: center; }
.auth-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 2.5rem 2rem; max-width: 440px; width: 100%; margin: 0 auto; box-shadow: 0 4px 24px rgba(15,23,41,0.07); }
.auth-card h1 { font-size: 1.5rem; margin: 0 0 0.35rem; }
.auth-card .auth-subtitle { color: var(--color-text-muted); font-size: 0.95rem; margin: 0 0 1.75rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.auth-field label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
.auth-field input { font: inherit; padding: 0.65rem 0.85rem; border: 1px solid var(--color-border); border-radius: 8px; width: 100%; box-sizing: border-box; font-size: 1rem; background: #fff; }
.auth-field input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(11,98,214,0.12); }
.auth-card .btn-full { width: 100%; padding: 0.85rem; font-size: 1rem; margin-top: 0.5rem; }
.auth-card .auth-links { margin-top: 1.25rem; text-align: center; font-size: 0.9rem; color: var(--color-text-muted); }
.auth-card .auth-links a { color: var(--color-primary); text-decoration: none; }
.auth-errors { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: #b91c1c; }
.auth-errors ul { margin: 0; padding-left: 1.25rem; }
.auth-success { background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: #166534; }

/* ─── Account / Můj účet ────────────────────────────────────── */
.ucet-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.ucet-header h1 { margin: 0; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.orders-table th { text-align: left; padding: 0.65rem 0.85rem; background: #f5f7fb; border-bottom: 2px solid var(--color-border); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); white-space: nowrap; }
.orders-table td { padding: 0.85rem; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: 0; }
.orders-table .order-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.order-status { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.order-status.paid { background: #dcfce7; color: #166534; }
.order-status.pending { background: #fef9c3; color: #854d0e; }
.order-status.failed, .order-status.refunded { background: #fef2f2; color: #b91c1c; }
.orders-empty { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); }
.empty-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--color-bg-subtle); margin: 0 auto 0.75rem; color: var(--color-text-muted); }

/* ─── Stahnout (download page) ─────────────────────────────── */
.download-box { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 2.5rem 2rem; max-width: 520px; margin: 0 auto; box-shadow: 0 4px 24px rgba(15,23,41,0.07); text-align: center; }
.download-box .dl-icon { font-size: 3rem; margin-bottom: 1rem; }
.download-box h1 { font-size: 1.4rem; margin: 0 0 0.35rem; }
.download-box .dl-meta { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 2rem; }
.download-btns { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.download-btns a, .download-btns button { display: block; width: 100%; padding: 1rem 1.5rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; font-family: inherit; text-align: center; box-sizing: border-box; }
.dl-btn-pdf { background: #16a34a; color: #fff; }
.dl-btn-pdf:hover:not(:disabled) { background: #15803d; }
.dl-btn-pdf:disabled { background: #6aaa84; cursor: wait; }
.dl-btn-docx { background: var(--color-primary); color: #fff; }
.dl-btn-docx:hover { background: var(--color-primary-dark, #084a9e); }
.dl-btn-rtf { background: #e8f0fc; color: #0b62d6; border: 1.5px solid #c5d9f7; }
.dl-btn-rtf:hover { background: #d4e5fb; }
.dl-btn-invoice { background: #f5f7fb; color: var(--color-text); border: 1px solid var(--color-border); }
.dl-btn-invoice:hover { background: #e8edf5; }
.dl-send-email-wrap { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); }
.dl-send-label { font-size: 0.88rem; color: var(--color-text-muted); margin: 0 0 0.6rem; font-weight: 500; }
.dl-send-form { display: flex; gap: 0.5rem; }
.dl-send-input { flex: 1; padding: 0.6rem 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; outline: none; }
.dl-send-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(11,98,214,0.1); }
.dl-send-btn { padding: 0.6rem 1.1rem; background: var(--color-primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dl-send-btn:hover { background: var(--color-primary-dark, #084a9e); }
.dl-send-success { display: inline-flex; align-items: center; gap: 0.5rem; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; border-radius: 8px; padding: 0.65rem 1rem; font-size: 0.92rem; font-weight: 500; }
@media (max-width: 480px) { .dl-send-form { flex-direction: column; } .dl-send-btn { width: 100%; } }
.download-register-hint { background: #f0f6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 1rem 1.25rem; margin-top: 1.5rem; font-size: 0.9rem; text-align: left; }
.download-register-hint strong { display: block; margin-bottom: 0.35rem; }
.download-register-hint a { color: var(--color-primary); font-weight: 600; }

/* ─── Faktura (invoice) ─────────────────────────────────────── */
.inv-wrap { background: #f6f8fc; min-height: 60vh; padding: 2rem 1rem 4rem; }
.invoice-page { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.08); font-family: Arial, Helvetica, sans-serif; color: #0f1729; line-height: 1.6; overflow: hidden; }
/* Header: logo left, invoice meta right */
.invoice-page .inv-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 36px; border-bottom: 1px solid #e5e8f0; flex-wrap: wrap; gap: 1rem; background: #fff; }
.invoice-page .inv-header .logo { text-decoration: none; }
.invoice-page .inv-title { text-align: right; }
.invoice-page .inv-title h1 { font-size: 1.15rem; font-weight: 800; color: #0f1729; margin: 0 0 4px; letter-spacing: -0.01em; }
.invoice-page .inv-title p { margin: 0; font-size: 0.85rem; color: #5b6478; line-height: 1.5; }
.invoice-page .inv-title strong { color: #0f1729; }
/* Body */
.invoice-page .inv-body { padding: 32px 36px; }
/* Parties */
.invoice-page .inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; padding: 20px 24px; background: #f6f8fc; border-radius: 8px; border: 1px solid #e5e8f0; }
.invoice-page .inv-party h3 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #5b6478; font-weight: 700; margin: 0 0 8px; }
.invoice-page .inv-party p { margin: 0; font-size: 0.92rem; color: #0f1729; line-height: 1.6; }
/* Items table */
.invoice-page .inv-items { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
.invoice-page .inv-items th { text-align: left; padding: 10px 14px; background: #0b62d6; color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.invoice-page .inv-items th:last-child { text-align: right; }
.invoice-page .inv-items td { padding: 14px; border-bottom: 1px solid #e5e8f0; font-size: 0.94rem; color: #0f1729; }
.invoice-page .inv-items td:last-child { text-align: right; font-weight: 700; }
/* Total */
.invoice-page .inv-total { text-align: right; font-size: 1.2rem; font-weight: 800; color: #0b62d6; border-top: 2px solid #e5e8f0; padding-top: 14px; margin-bottom: 1.5rem; }
/* Footer note */
.invoice-page .inv-note { font-size: 0.82rem; color: #5b6478; padding: 16px 0 0; border-top: 1px solid #e5e8f0; }
/* Print button (outside card, hidden in print) */
.inv-actions { text-align: center; margin-bottom: 1.5rem; display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.inv-print-btn { display: inline-block; padding: 0.75rem 2rem; background: #ff7a00; color: #fff; border: none; border-radius: 8px; font: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.inv-send-btn { display: inline-block; padding: 0.75rem 1.5rem; background: #fff; color: #0b62d6; border: 1.5px solid #0b62d6; border-radius: 8px; font: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.inv-send-btn:hover { background: #e8f0fc; }
.inv-send-wrap { max-width: 460px; margin: 0 auto 1.5rem; padding: 1rem 1.25rem; background: #f0f5ff; border: 1px solid #c7d9f8; border-radius: 10px; }
.inv-send-label { font-size: 0.88rem; color: #0f1729; font-weight: 600; margin: 0 0 0.55rem; }
.inv-send-form { display: flex; gap: 0.5rem; }
.inv-send-input { flex: 1; padding: 0.6rem 0.85rem; font-size: 0.92rem; border: 1px solid #c7d9f8; border-radius: 8px; background: #fff; font-family: inherit; }
.inv-send-input:focus { outline: 2px solid #0b62d6; outline-offset: 1px; border-color: transparent; }
.inv-send-submit { padding: 0.6rem 1.25rem; background: #0b62d6; color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.92rem; }
.inv-send-submit:hover { background: #094fac; }
.inv-send-success { display: flex; align-items: center; gap: 0.5rem; color: #15803d; font-size: 0.92rem; font-weight: 600; }
@media print {
    .inv-actions, .inv-send-wrap, .inv-wrap-bg, .site-header, .site-footer, .newsletter-strip, .cta-strip { display: none !important; }
    .inv-wrap { background: #fff; padding: 0; }
    .invoice-page { box-shadow: none; border-radius: 0; }
    .invoice-page .inv-items th { background: #0b62d6 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .invoice-page .inv-total { color: #0b62d6 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 600px) {
    .auth-section { padding: 1.5rem 0 2rem; min-height: unset; align-items: flex-start; }
    .auth-card { padding: 1.75rem 1.25rem; }
    .invoice-page .inv-header { padding: 18px 20px; }
    .invoice-page .inv-body { padding: 24px 20px; }
    .invoice-page .inv-parties { grid-template-columns: 1fr; }
    .orders-table th:nth-child(3), .orders-table td:nth-child(3) { display: none; }
}

/* Account tabs */
.ucet-tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; flex-wrap: wrap; }
.ucet-tab {
    background: transparent; border: none; padding: 0.75rem 1.25rem;
    font-size: 0.95rem; font-weight: 500; color: var(--color-text-muted);
    cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}
.ucet-tab:hover { color: var(--color-text); }
.ucet-tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.ucet-panel { display: none; }
.ucet-panel.is-active { display: block; }

/* Profile form */
.profile-form { max-width: 760px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .profile-grid { grid-template-columns: 1fr; } }

.profile-company-block { margin-top: 1.5rem; padding: 1rem 1.1rem; background: #f1f6fd; border: 1px solid #d6e3f5; border-radius: var(--radius-sm); }
.profile-company-toggle { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.profile-company-toggle input[type=checkbox] { margin-top: 0.3rem; flex-shrink: 0; width: 1.05rem; height: 1.05rem; accent-color: var(--color-primary); }
.profile-company-toggle > span { display: flex; flex-direction: column; gap: 0.25rem; }
.profile-company-toggle strong { font-weight: 600; color: var(--color-text); display: inline-flex; align-items: center; }
.profile-company-toggle strong svg { color: var(--color-primary); }
.profile-company-desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.45; }
.profile-company-fields { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #d6e3f5; }

.profile-autofill-block { margin-top: 1rem; padding: 1rem 1.1rem; background: #f1f6fd; border: 1px solid #d6e3f5; border-radius: var(--radius-sm); }
.profile-autofill-toggle { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.profile-autofill-toggle input[type=checkbox] { margin-top: 0.25rem; flex-shrink: 0; width: 1.05rem; height: 1.05rem; accent-color: var(--color-primary); }
.profile-autofill-toggle > span { display: flex; flex-direction: column; gap: 0.25rem; }
.profile-autofill-toggle strong { font-weight: 600; color: var(--color-text); }
.profile-autofill-desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.45; }

/* Autofill banner above document form */
.autofill-banner { margin: 1.5rem 0; padding: 1.1rem 1.25rem; background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%); border: 1px solid #c5d9f7; border-radius: var(--radius-md, 12px); display: flex; flex-direction: column; gap: 0.85rem; }
.autofill-banner-text { display: flex; flex-direction: column; gap: 0.2rem; }
.autofill-banner-text strong { font-size: 1.02rem; color: var(--color-text); }
.autofill-banner-text span { font-size: 0.88rem; color: var(--color-text-muted); }
.autofill-banner-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: stretch; }
.autofill-btn { flex: 1 1 220px; padding: 0.7rem 1rem; background: #fff; border: 1.5px solid #c5d9f7; color: var(--color-text); border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 600; cursor: pointer; line-height: 1.3; transition: all 0.15s ease; text-align: left; }
.autofill-btn small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.15rem; }
.autofill-btn:hover { background: #0b62d6; border-color: #0b62d6; color: #fff; }
.autofill-btn:hover small { color: rgba(255,255,255,0.85); }
.autofill-btn-dismiss { width: 38px; height: 38px; align-self: center; background: transparent; border: 0; color: var(--color-text-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.autofill-btn-dismiss:hover { background: rgba(0,0,0,0.06); color: var(--color-text); }
.autofill-banner-result { padding: 0.65rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.88rem; }
.autofill-banner-result-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.autofill-banner-result-warn { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
@media (max-width: 600px) { .autofill-btn { flex: 1 1 100%; } }

/* Favorites / owned documents */
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.favorite-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem; background: #fff;
    border: 1px solid var(--color-border); border-radius: var(--radius-md);
    transition: box-shadow .15s, transform .15s;
}
.favorite-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-2px); }
.favorite-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; color: var(--color-primary); }
.favorite-body { flex: 1; min-width: 0; }
.favorite-body h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.favorite-body h3 a { color: var(--color-text); text-decoration: none; }
.favorite-body h3 a:hover { color: var(--color-primary); }
.favorite-body p { margin: 0; font-size: 0.82rem; color: var(--color-text-muted); }
.favorite-actions { flex-shrink: 0; }

/* Ucet mobile improvements */
@media (max-width: 640px) {
    .ucet-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 0; }
    .ucet-tabs::-webkit-scrollbar { display: none; }
    .ucet-tab { font-size: 0.88rem; padding: 0.65rem 0.9rem; white-space: nowrap; flex-shrink: 0; }
    .orders-table:not(.payments-table) th:nth-child(1),
    .orders-table:not(.payments-table) td:nth-child(1),
    .orders-table:not(.payments-table) th:nth-child(3),
    .orders-table:not(.payments-table) td:nth-child(3),
    .orders-table:not(.payments-table) th:nth-child(4),
    .orders-table:not(.payments-table) td:nth-child(4) { display: none; }
    /* Payments table has different columns: Date | Type | Description | Amount | Action */
    .payments-table th:nth-child(2),
    .payments-table td:nth-child(2) { display: none; }
    .favorite-card { flex-wrap: wrap; }
    .favorite-actions { width: 100%; }
    .favorite-actions .btn { width: 100%; justify-content: center; }
}

/* Order modal prefill note */
.order-prefill-note {
    background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
    padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
    font-size: 0.88rem; margin: 0 0 1rem;
}
.order-prefill-note a { color: #065f46; text-decoration: underline; font-weight: 600; }

/* Newsletter strip */
.newsletter-strip {
    background: linear-gradient(135deg, #0b62d6 0%, #0a4fa8 100%);
    padding: 2.45rem 0;
    color: #fff;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 240px; }
.newsletter-text h2 { margin: 0 0 0.5rem; font-size: 1.5rem; color: #fff; }
.newsletter-text p  { margin: 0; color: rgba(255,255,255,0.82); font-size: 1rem; }
.newsletter-form-wrap { flex: 1; min-width: 280px; }
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input[type="email"]:focus { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }
.newsletter-form button {
    padding: 0.75rem 1.4rem;
    background: #fff;
    color: #0b62d6;
    border: 0;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}
.newsletter-form button:hover { opacity: 0.92; }
.newsletter-form button:disabled { opacity: 0.6; cursor: default; }
.newsletter-note { margin: 0.6rem 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.newsletter-note a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.newsletter-msg { margin-top: 0.75rem; padding: 0.65rem 1rem; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500; }
.newsletter-msg--ok  { background: rgba(255,255,255,0.15); color: #fff; }
.newsletter-msg--err { background: rgba(220,38,38,0.2); color: #fecaca; }
@media (max-width: 720px) {
    .newsletter-inner { flex-direction: column; gap: 1.5rem; }
    .newsletter-text, .newsletter-form-wrap { min-width: 0; width: 100%; }
}

/* Pricing / subscription plans */
.pricing-section { background: var(--color-bg); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}
.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 2rem;
    white-space: nowrap;
}
.pricing-name { margin: 0; font-size: 1.15rem; }
.pricing-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem; margin: 0.5rem 0; }
.pricing-per-month { font-size: 0.82rem; color: var(--color-text-muted); align-self: baseline; flex-basis: 100%; display: inline-flex; align-items: center; gap: 0.45rem; }
.pricing-discount {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
    letter-spacing: 0.01em;
}
.pricing-auto-note { margin: 0.5rem 0 0.75rem; font-size: 0.78rem; color: var(--color-text-muted); text-align: center; }
.pricing-desc { margin: 0 0 0.25rem; font-size: 0.88rem; color: var(--color-text-muted); }
.pricing-login-note { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--color-text-muted); text-align: center; }
.pricing-amount { font-size: 2rem; font-weight: 800; color: var(--color-text); }
.pricing-interval { font-size: 0.9rem; color: var(--color-text-muted); }
.pricing-features {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.pricing-features svg { flex-shrink: 0; color: #16a34a; }
.pricing-cta { margin-top: 1.25rem; width: 100%; text-align: center; }

/* ─────────────────────────────────────────────────────────────────────────────
   COOKIE CONSENT
───────────────────────────────────────────────────────────────────────────── */
.cookie-bar {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(580px, calc(100% - 2rem));
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 9000;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    animation: cookie-slide-up 0.3s ease;
}
@keyframes cookie-slide-up {
    from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-bar[hidden] { display: none; }
.cookie-bar-text {
    flex: 1;
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}
.cookie-bar-text a { color: var(--color-primary); }
.cookie-bar-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}
@media (max-width: 560px) {
    .cookie-br-desktop { display: none; }
    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        bottom: 0.5rem;
        padding: 0.85rem 0.9rem;
        gap: 0.65rem;
        width: calc(100% - 1rem);
        border-radius: var(--radius-md);
    }
    .cookie-bar-text { font-size: 0.8rem; }
    .cookie-bar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "accept accept"
            "reject settings";
        gap: 0.4rem;
    }
    .cookie-bar-actions #cookie-accept-all { grid-area: accept; }
    .cookie-bar-actions #cookie-reject     { grid-area: reject; }
    .cookie-bar-actions #cookie-settings   { grid-area: settings; }
    .cookie-bar-actions .btn { width: 100%; padding: 0.55rem 0.5rem; }

    .cookie-modal-box {
        padding: 1.15rem 1rem 1rem;
        border-radius: var(--radius-md);
    }
    .cookie-modal-box h2 { font-size: 1.05rem; }
    .cookie-modal-actions { flex-direction: column-reverse; gap: 0.4rem; }
    .cookie-modal-actions .btn { width: 100%; }
}

/* Modal */
.cookie-modal[hidden] { display: none; }
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,41,0.45);
}
.cookie-modal-box {
    position: relative;
    width: min(480px, 100%);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}
.cookie-modal-box h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.cookie-modal-box > p { margin: 0 0 1.25rem; font-size: 0.88rem; color: var(--color-text-muted); }
.cookie-category {
    padding: 0.85rem 0;
    border-top: 1px solid var(--color-border);
}
.cookie-category:last-of-type { border-bottom: 1px solid var(--color-border); margin-bottom: 1.25rem; }
.cookie-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
}
.cookie-category p { margin: 0; font-size: 0.82rem; color: var(--color-text-muted); }
.cookie-always-on { font-size: 0.78rem; color: var(--color-success); font-weight: 600; }
.cookie-modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--color-border);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    left: 3px; top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--color-primary); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }

/* ─────────────────────────────────────────────────────────────────────────────
   ORDER MODAL — NÁVRH 7 (Stripe-style sleek)
───────────────────────────────────────────────────────────────────────────── */
.order-modal-v7 .order-modal-close-abs {
    position: absolute;
    top: 0.65rem; right: 0.65rem;
    z-index: 5;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
}
.order-modal-v7 .order-modal-body {
    padding-top: 2.75rem;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
/* Gap between discount section and express-checkout/submit */
.order-modal-v7 .order-discount { margin-bottom: 0.5rem; }
.order-modal-v7 .order-express-wrap { margin-top: 1.25rem; }
.order-modal-v7 .order-submit { margin-top: 1.25rem; }
/* Breakdown / order summary inside body */
.order-breakdown {
    margin: 0.5rem 0 1.25rem;
}
.order-breakdown-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}
.order-breakdown-line:first-child { padding-top: 0; }
.order-breakdown-line:last-child { border-bottom: 0; }
.order-breakdown-doc {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}
.order-breakdown-doc-ico {
    width: 36px; height: 36px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.order-breakdown-doc-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-text);
}
.order-breakdown-doc-meta {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}
.order-breakdown-doc-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
}
.order-breakdown-total {
    font-weight: 700;
    font-size: 1rem;
    border-top: 2px solid var(--color-border) !important;
    padding-top: 0.85rem !important;
    margin-top: 0.25rem;
}

/* Floating label inputs */
.order-field-float {
    position: relative;
    margin-bottom: 0.6rem;
    flex: 1;
}
.order-field-float input {
    width: 100%;
    padding: 1.25rem 0.85rem 0.4rem;
    border: 1.5px solid #e3e7ef;
    border-radius: 10px;
    background: #f5f7fb;
    color: var(--color-text);
    font: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.order-field-float input:hover {
    border-color: #cbd2dd;
}
.order-field-float input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11,98,214,0.12);
}
.order-field-float label {
    position: absolute;
    top: 1rem;
    left: 0.9rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 400;
    pointer-events: none;
    transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
    background: transparent;
    line-height: 1;
}
.order-field-float input:focus + label,
.order-field-float input:not(:placeholder-shown) + label {
    top: 0.4rem;
    font-size: 0.7rem;
    color: var(--color-primary);
    font-weight: 600;
}
.order-field-float input:not(:focus):not(:placeholder-shown) + label {
    color: var(--color-text-muted);
}
.order-field-float .order-optional {
    font-size: 0.85em;
    color: var(--color-text-muted);
    font-weight: 400;
}

/* Override row in v7 modal: gap, no margin on field-float */
.order-modal-v7 .order-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0;
}

/* Discount input + button row */
.order-modal-v7 .order-discount {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.order-modal-v7 .order-discount .order-field-float { margin-bottom: 0; }
.order-modal-v7 .order-discount-btn {
    align-self: stretch;
    padding: 0 1.1rem;
    border: 1.5px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    font: inherit;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

/* Secure label under submit */
.order-secure {
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0.65rem 0 1.1rem;
}

/* Tighten company section in v7 */
.order-modal-v7 .order-company {
    background: var(--color-bg-alt);
    border-radius: 10px;
    padding: 0.85rem 0.85rem 0.35rem;
    margin: 0 0 1rem;
}
.order-modal-v7 .order-company .order-field-float { margin-bottom: 0.5rem; }
.order-modal-v7 .order-company .order-row { margin-bottom: 0; }
.order-modal-v7 .order-checkbox { margin: 0 0 0.85rem; }

@media (max-width: 480px) {
    .order-modal-v7 .order-row { grid-template-columns: 1fr; }
    .order-modal-v7 .order-discount-btn { padding: 0 0.85rem; font-size: 0.88rem; }
    .order-modal-v7 .order-breakdown-doc-name { font-size: 0.96rem; }
    .order-modal-v7 .order-breakdown-doc-price { white-space: nowrap; }
    .order-modal-v7 .order-social-proof { font-size: 0.85rem; white-space: nowrap; }
}

/* Social proof chip in order modal */
.order-social-proof {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
    font-size: 0.94rem;
    color: var(--color-success);
    font-weight: 500;
}
.order-social-proof-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-success);
    flex-shrink: 0;
    animation: social-pulse 2s ease-in-out infinite;
}
@keyframes social-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

/* ─────────────────────────────────────────────────────────────
   A4 Inline Document Editor
   ───────────────────────────────────────────────────────────── */
.a4-editor-wrap {
    margin: 2rem 0;
    background: #dde2ef;
    padding: 2rem 1rem 3rem;
    border-radius: 12px;
}
.a4-editor-bar {
    max-width: 800px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.a4-editor-tips {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 auto;
}
.a4-editor-time {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b62d6;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.a4-editor-time::before {
    content: '⏱';
    font-size: 1.05rem;
}
.a4-editor-tip {
    font-size: 0.88rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.a4-editor-tip::before {
    content: '✏️';
    font-size: 0.95rem;
}
.a4-editor-hint {
    font-size: 0.88rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.a4-editor-hint::before {
    content: '💡';
    font-size: 0.95rem;
}
.a4-page {
    background: #fff;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 3.5rem 4rem;
    box-shadow: 0 4px 32px rgba(15, 23, 41, 0.2);
    border-radius: 2px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11.5pt;
    line-height: 1.75;
    color: #0f1729;
    position: relative;
    overflow: visible;
    word-break: break-word;
    overflow-wrap: break-word;
}
.a4-page div[style] { min-width: 0; }
.a4-page p, .a4-page li { max-width: 100%; }
/* Inline fillable field wrapper */
[data-field] {
    display: inline;
}
/* The auto-resizing input rendered by JS */
.a4-field-input {
    background: linear-gradient(135deg, rgba(11, 98, 214, 0.1), rgba(75, 137, 232, 0.08));
    box-shadow: inset 0 0 0 1px rgba(11, 98, 214, 0.25);
    padding: 2px 12px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: #0f1729;
    outline: none;
    min-width: 3em;
    transition: background 0.15s, box-shadow 0.15s;
    display: inline;
    word-break: break-word;
    white-space: pre-wrap;
    cursor: text;
}
.a4-field-input:empty::before {
    content: attr(data-placeholder);
    color: #94a3b8;
    font-style: italic;
    pointer-events: none;
}
.a4-field-input:hover {
    background: linear-gradient(135deg, rgba(11, 98, 214, 0.18), rgba(75, 137, 232, 0.14));
    box-shadow: inset 0 0 0 1px rgba(11, 98, 214, 0.4), 0 2px 8px rgba(11, 98, 214, 0.15);
}
.a4-field-input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px #0b62d6, 0 4px 12px rgba(11, 98, 214, 0.2);
}
.a4-field-input.is-error {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(248, 113, 113, 0.08));
    box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.4);
}
[data-field].is-autofilled .a4-field-input {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(74, 222, 128, 0.08));
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.35);
    color: #14532d;
}
[data-field].is-autofilled .a4-field-input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px #15803d, 0 4px 12px rgba(22, 163, 74, 0.2);
}
/* Parenthetical explanation tooltip */
.a4-info {
    position: relative;
    display: inline-block;
    vertical-align: 0.1em;
    margin-left: 3px;
    cursor: help;
}
.a4-info-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    color: #0b62d6;
    transition: color 0.15s, transform 0.15s;
    pointer-events: auto;
    user-select: none;
    vertical-align: middle;
}
.a4-info-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.a4-info:hover .a4-info-icon {
    color: #084ba6;
    transform: scale(1.1);
}
.a4-info-tip {
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    background: #1e293b;
    color: #f8fafc;
    font-size: 0.78rem;
    line-height: 1.4;
    padding: 6px 11px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 200;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 6px 18px rgba(15, 23, 41, 0.25);
}
.a4-info-tip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #1e293b;
}
.a4-info:hover .a4-info-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
/* Inside article headings: zero-width wrapper so text-align:center is
   calculated on the text alone — the icon overflows visually to the right */
.a4-page .article-heading .a4-info {
    width: 0;
    height: 0;
    line-height: 0;
    overflow: visible;
    margin-left: 0;
}
.a4-page .article-heading .a4-info-icon {
    position: absolute;
    left: 4px;
    top: -13px;
    transform: none;
    display: block;
    width: 13px;
    height: 13px;
}
.a4-page .article-heading .a4-info:hover .a4-info-icon {
    color: #084ba6;
    transform: scale(1.1);
}
.a4-page .article-heading .a4-info-tip {
    left: calc(4px + 13px + 6px);
}
/* Contract typography inside A4 */
.a4-page h1,
.a4-page .contract-title {
    text-align: center;
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
    font-weight: 700;
}
.a4-page .contract-subtitle,
.a4-page .doc-subtitle {
    text-align: center;
    text-align-last: center;
    font-style: italic;
    font-size: 0.9rem;
    color: #5b6478;
    margin: 0 0 1.5rem;
}
.a4-page .article-heading {
    text-align: center;
    margin: 2rem 0 0.75rem;
}
.a4-page .article-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f1729;
    margin-bottom: 0.15rem;
}
.a4-page .article-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f1729;
}
.a4-page p {
    margin: 0 0 0.75rem;
    text-align: justify;
    text-align-last: left;
}
.a4-page li {
    text-align-last: left;
}
/* Krátke odseky s inline poľami (data-removable / data-addable) — neformátovať justify */
.a4-page p[data-removable],
.a4-page p[data-addable] {
    text-align: left;
}
.a4-page ul,
.a4-page ol {
    margin: 0 0 0.75rem;
    padding-left: 1.5rem;
}
.a4-page li {
    margin-bottom: 0.3rem;
}
.a4-editor-wrap .a4-page {
    user-select: none;
    -webkit-user-select: none;
}
.a4-page .lease-sign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}
.a4-page .lease-sign .sign-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.a4-page .lease-sign .sign-space { height: 3rem; width: 100%; }
.a4-page .lease-sign .sign-dots {
    letter-spacing: 1px;
    color: #0f1729;
    margin: 0 0 0.3rem;
    font-family: Georgia, serif;
    white-space: nowrap;
}
.a4-page .lease-sign .sign-role { font-size: 0.95rem; font-weight: 700; margin: 0; }

/* Removable rows ───────────────────────────────────────────── */
.a4-page [data-removable] {
    position: relative;
    padding-right: 2rem;
}
.a4-page [data-removable] > .lease-sign { margin-right: -2rem; }
.a4-page [data-removable].is-removed { display: none !important; }
.a4-remove-btn {
    position: absolute;
    top: 0.1rem;
    right: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #d8dde6;
    background: #fff;
    color: #b91c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.35;
    transition: opacity 0.15s, background 0.15s;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
}
.a4-page [data-removable]:hover .a4-remove-btn,
.a4-remove-btn:focus { opacity: 1; }
.a4-remove-btn:hover { background: #fef2f2; border-color: #fca5a5; opacity: 1; }
.a4-removed-bar {
    max-width: 800px;
    margin: 0 auto 0.75rem;
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    color: #57471c;
    display: none;
}
.a4-removed-bar.has-removed { display: block; }
.a4-restore-btn {
    display: inline-block;
    margin: 0.2rem 0.3rem 0 0;
    padding: 0.2rem 0.55rem;
    border: 1px solid #fbbf24;
    border-radius: 5px;
    background: #fff;
    color: #57471c;
    font-size: 0.8rem;
    cursor: pointer;
    font: inherit;
}
.a4-restore-btn:hover { background: #fef9c3; }

/* Addable blocks (hidden until "+" clicked) ──────────────────── */
.a4-page [data-addable] { display: none; position: relative; padding-right: 2rem; }
.a4-page [data-addable].is-shown { display: block; }
.a4-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.3rem 0 0.9rem;
    padding: 0.45rem 0.95rem;
    background: #f1f5f9;
    border: 1px dashed #94a3b8;
    border-radius: 6px;
    color: #475569;
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.a4-add-btn::before { content: '+'; font-size: 1.15rem; font-weight: 700; line-height: 1; }
.a4-add-btn:hover { background: #e2e8f0; border-style: solid; border-color: #475569; color: #0f1729; }
.a4-add-btn.is-hidden { display: none; }
@media (max-width: 720px) {
    .a4-page {
        padding: 2rem 1.25rem;
        font-size: 10.5pt;
    }
    .a4-page .lease-sign { grid-template-columns: 1fr; gap: 2rem; }
    #mob-ap-doc .lease-sign { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .a4-editor-bar { flex-direction: column; align-items: stretch; }
}

/* ===== Předplatné — benefits section ===== */
.benefits-section { padding-top: 4rem; padding-bottom: 4rem; }
.benefits-highlight {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto 3rem;
    max-width: 880px;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 18px -8px rgba(15, 23, 41, 0.08);
}
.benefits-highlight-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.25rem; }
.benefits-highlight-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary, #2563eb);
    font-variant-numeric: tabular-nums;
}
.benefits-highlight-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}
.benefits-highlight-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    justify-self: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 0 auto 3rem;
    max-width: 1080px;
}
.benefit-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.benefit-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 28px -14px rgba(15, 23, 41, 0.18);
}
.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border-radius: 12px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-body { flex: 1; min-width: 0; }
.benefit-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}
.benefit-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}
.benefit-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    white-space: nowrap;
}
.benefit-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.benefits-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}
.benefits-compare-col {
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
}
.benefits-compare-col--bad { background: #fef2f2; border-color: #fecaca; }
.benefits-compare-col--good { background: #ecfdf5; border-color: #a7f3d0; }
.benefits-compare-head {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.benefits-compare-col--bad .benefits-compare-head { color: #991b1b; }
.benefits-compare-col--good .benefits-compare-head { color: #065f46; }
.benefits-compare-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.benefits-compare-col li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
}
.cmp-x { color: #dc2626; font-weight: 800; flex-shrink: 0; }
.cmp-ok { color: #059669; font-weight: 800; flex-shrink: 0; }
.benefits-compare-vs {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    padding: 0.5rem;
    border: 2px dashed #cbd5e1;
    border-radius: 999px;
    background: #fff;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.benefits-final-cta {
    text-align: center;
    padding: 2.25rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 18px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -20px rgba(37, 99, 235, 0.45);
}
.benefits-final-cta h3 { margin: 0 0 0.5rem; font-size: 1.35rem; color: #fff; }
.benefits-final-cta p { margin: 0 0 1.25rem; color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.benefits-final-cta .btn-primary {
    background: #fff;
    color: #1d4ed8;
    border-color: #fff;
}
.benefits-final-cta .btn-primary:hover { background: #f1f5f9; color: #1e3a8a; }
.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 0.35rem; }
.cta-trust svg { flex: none; }

@media (max-width: 860px) {
    .benefits-highlight {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1.5rem;
        padding: 1.5rem;
    }
    .benefits-highlight-divider { display: none; }
    .benefits-compare {
        grid-template-columns: 1fr;
    }
    .benefits-compare-vs {
        justify-self: center;
        margin: -0.5rem 0;
    }
}
@media (max-width: 480px) {
    .benefits-highlight { grid-template-columns: 1fr; }
    .benefits-highlight-num { font-size: 1.65rem; }
}

/* ── A4 Progress Sidebar (desktop ≥1181px) ─────────────────────────────────── */
.a4-sidebar {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 6px 28px rgba(15, 23, 41, 0.16);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    pointer-events: none;
}
.a4-sidebar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.a4-sidebar-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e8f0;
    padding-bottom: 0.55rem;
    margin-bottom: 0.85rem;
}
.a4-sidebar-progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.95rem;
}
.a4-sidebar-track {
    height: 6px;
    background: #e5e8f0;
    border-radius: 99px;
    overflow: hidden;
}
.a4-sidebar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0b62d6, #16a37e);
    border-radius: 99px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.a4-sidebar-pct {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b62d6;
}
.a4-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 240px;
    overflow-y: auto;
}
.a4-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.79rem;
    color: #5b6478;
    line-height: 1.3;
    transition: color 0.2s;
}
.a4-checklist li.is-done {
    color: #16a37e;
    font-weight: 600;
}
.a4-checklist li.is-empty {
    opacity: 0.4;
}
.a4-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    flex-shrink: 0;
    transition: all 0.2s;
    color: transparent;
    line-height: 1;
}
.a4-checklist li.is-done .a4-check {
    background: #16a37e;
    border-color: #16a37e;
    color: #fff;
}
.a4-sidebar-cta {
    display: block;
    width: 100%;
    background: #ff7a00;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s;
    font-family: inherit;
}
.a4-sidebar-cta:hover {
    background: #e36b00;
    color: #fff;
}

/* ── A4 Mobile slim progress (≤1180px) ─────────────────────────────────────── */
.a4-mobile-progress {
    display: none;
    max-width: 800px;
    margin: 0 auto 1rem;
    padding: 0.7rem 0.9rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 41, 0.08);
    position: sticky;
    top: 0.5rem;
    z-index: 30;
}
.a4-mobile-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.a4-mobile-progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}
.a4-mobile-progress-pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0b62d6;
}
.a4-mobile-progress-track {
    height: 5px;
    background: #e5e8f0;
    border-radius: 99px;
    overflow: hidden;
}
.a4-mobile-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0b62d6, #16a37e);
    border-radius: 99px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1180px) {
    .a4-sidebar { display: none; }
    .a4-mobile-progress { display: block; }
}

/* ── Mobile Cards UI — Varianta 2 (≤767px) ─────────────────────────────── */
.a4-mobile-cards { display: none; }
.mob-a4-preview  { display: none; }

@media (max-width: 767px) {
    /* Prevent the whole page from scrolling horizontally on mobile */
    html, body { overflow-x: hidden; max-width: 100%; }

    /* Pull hero to top — minimal top padding under sticky header */
    .hero { padding-top: 1.25rem; padding-bottom: var(--space-8); }

    /* Center hero search label and CTAs on mobile */
    .hero-badge {
        display: flex;
        width: fit-content;
        margin: 0 auto var(--space-3);
        font-size: 0.78rem;
        padding: 0.35rem 0.7rem;
        gap: 0.4rem;
    }
    .hero-title, .hero-lead { text-align: center; }
    .hero-search-label { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-cta .btn { flex: 1 1 auto; }
    .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); }
    .hero-trust li { justify-self: start; }
    .hero-stats .stat { text-align: center; }

    /* Hide A4 doc and its chrome, replace with card UI */
    .a4-editor-wrap .a4-page,
    .a4-mobile-progress,
    .a4-removed-bar { display: none !important; }

    /* Hide "modré" word on mobile — there's no blue placeholder UI there */
    .tip-desktop-only { display: none; }

    /* Editor info bar — stack vertically as an intro above the cards */
    .a4-editor-bar {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        background: #fff;
        border-radius: 12px;
        padding: .8rem .9rem;
        margin: 0 12px .75rem;
        box-shadow: 0 1px 6px rgba(15,23,41,.06);
    }
    .a4-editor-tips { gap: .5rem; }
    .a4-editor-tip,
    .a4-editor-hint {
        font-size: .82rem;
        line-height: 1.4;
        align-items: flex-start;
        gap: .5rem;
    }
    .a4-editor-time {
        font-size: .85rem;
        padding-top: .4rem;
        border-top: 1px solid #f3f4f6;
        align-items: flex-start;
    }

    /* Reduce wrap padding so cards have more room */
    .a4-editor-wrap {
        padding: 0;
        background: transparent;
        margin: 1rem 0;
        overflow: hidden;
        max-width: 100%;
    }

    .a4-mobile-cards {
        display: block;
        background: #f4f6fb;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Sticky progress header */
    .mob-hdr {
        position: sticky;
        top: 0;
        z-index: 50;
        background: #fff;
        padding: .7rem 1rem .6rem;
        border-bottom: 1px solid #e9ecf2;
        box-shadow: 0 2px 8px rgba(15,23,41,.07);
        display: flex;
        align-items: center;
        gap: .75rem;
    }
    .mob-segs {
        display: flex;
        gap: 4px;
        flex: 1;
    }
    .mob-seg {
        flex: 1;
        height: 6px;
        border-radius: 99px;
        background: #e5e8f0;
        transition: background .3s;
    }
    .mob-seg.is-partial { background: #93c5fd; }
    .mob-seg.is-done    { background: #10b981; }
    .mob-prog-txt {
        font-size: .72rem;
        font-weight: 700;
        color: #6b7280;
        white-space: nowrap;
        flex-shrink: 0;
    }
    #mob-done-ct { color: #0b62d6; }

    /* Scrollable section list */
    .mob-body {
        padding: 12px 12px 88px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Section card */
    .mob-sec {
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 1px 6px rgba(15,23,41,.06);
        overflow: hidden;
        border: 2px solid #e9ecf2;
        transition: border-color .2s;
    }
    .mob-sec.is-done { border-color: #a7f3d0; }

    .mob-sec-hd {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 14px;
        border-bottom: 1px solid #f3f4f6;
    }
    .mob-sec.is-done .mob-sec-hd { border-bottom-color: #d1fae5; }

    .mob-sec-ico {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: #eff6ff;
        color: #1e3a5f;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .78rem;
        font-weight: 800;
        flex-shrink: 0;
    }
    .mob-sec.is-done .mob-sec-ico { background: #d1fae5; color: #065f46; }

    .mob-sec-nm {
        font-size: .88rem;
        font-weight: 700;
        color: #0f1729;
        flex: 1;
    }

    .mob-sec-bdg {
        font-size: .7rem;
        font-weight: 700;
        padding: 3px 9px;
        border-radius: 20px;
        flex-shrink: 0;
    }
    .mob-sec-bdg.is-done    { background: #d1fae5; color: #065f46; }
    .mob-sec-bdg.is-partial { background: #eff6ff; color: #1e3a5f; }

    /* Fields inside card */
    .mob-sec-flds {
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mob-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 100%; }
    .mob-flabel {
        font-size: .68rem;
        font-weight: 600;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
    .mob-finput {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 10px 12px;
        border: 1.5px solid #e5e8f0;
        border-radius: 9px;
        font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
        color: #0f1729;
        background: #f9fafb;
        outline: none;
        box-sizing: border-box;
        transition: border-color .18s, background .18s;
        -webkit-appearance: none;
    }
    .mob-finput:focus {
        border-color: #3b82f6;
        background: #fff;
    }
    .mob-finput:not(:placeholder-shown) {
        border-color: #a7f3d0;
        background: #f0fdf4;
        color: #065f46;
    }

    /* Fixed download bar */
    .mob-dl-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 14px;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
        background: #fff;
        border-top: 1px solid #e9ecf2;
        box-shadow: 0 -4px 16px rgba(15,23,41,.1);
        z-index: 200;
    }
    .mob-dl-btn {
        display: block;
        width: 100%;
        padding: 13px;
        background: #1e3a5f;
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: .92rem;
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
        -webkit-appearance: none;
    }
    .mob-dl-btn:active { background: #163252; }

    /* ── Mobile A4 preview panel ─────────────────────────────────────────── */
    .mob-a4-preview.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 300;
        background: #f4f6fb;
        overflow: hidden;
    }
    .mob-ap-bar {
        flex-shrink: 0;
        background: #fff;
        border-bottom: 1px solid #e9ecf2;
        box-shadow: 0 2px 8px rgba(15,23,41,.07);
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: .55rem .9rem;
    }
    .mob-ap-back {
        display: flex;
        align-items: center;
        gap: .3rem;
        font-size: .82rem;
        font-weight: 600;
        color: #0b62d6;
        background: none;
        border: none;
        padding: 6px 10px 6px 4px;
        border-radius: 8px;
        cursor: pointer;
        flex-shrink: 0;
        -webkit-appearance: none;
    }
    .mob-ap-back:active { background: #eff6ff; }
    .mob-ap-title {
        flex: 1;
        font-size: .88rem;
        font-weight: 700;
        color: #0f1729;
        text-align: center;
    }
    .mob-ap-spacer { flex-shrink: 0; min-width: 56px; }
    .mob-ap-scaler {
        flex: 1;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: auto;
        width: 100%;
        padding: 12px 8px 32px;
        -webkit-user-select: none;
        user-select: none;
    }
    #mob-ap-inner {
        display: block;
        width: 800px;
        margin: 0 auto;
    }
    #mob-ap-doc {
        display: block !important;
        width: 800px;
        pointer-events: none;
        -webkit-user-select: none;
        user-select: none;
        -webkit-font-smoothing: antialiased;
    }
    .mob-ap-val { display: inline; }
    .mob-ap-val.mob-ap-empty {
        color: #9ca3af;
        font-style: italic;
        border-bottom: 1.5px dashed #cbd5e1;
    }

    /* Preview open button at bottom of cards */
    .mob-preview-btn-row { padding: .75rem 12px 0; }
    .mob-preview-open-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        width: 100%;
        padding: 13px;
        background: #1e3a5f;
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: .92rem;
        font-weight: 700;
        cursor: pointer;
        -webkit-appearance: none;
    }
    .mob-preview-open-btn:active { background: #163252; }
}

/* ── Homepage finale (compact register + newsletter strip) ──────────────── */
.hp-finale {
    background: linear-gradient(135deg, #0b62d6 0%, #0a4fa8 100%);
    padding: 1.1rem 0;
    color: #fff;
}
.hp-finale-inner {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.hp-finale-inner--single .hp-finale-half { flex: 1; justify-content: center; }
.hp-finale-half {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}
.hp-finale-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255,255,255,0.22);
    margin: 0 1.5rem;
    flex-shrink: 0;
}
.hp-finale-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
}
.hp-finale-label { min-width: 0; }
.hp-finale-label strong { display: block; font-size: 0.85rem; font-weight: 700; color: #fff; white-space: nowrap; }
.hp-finale-label span   { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.68); white-space: nowrap; }
.hp-finale-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}
.hp-finale-btn {
    display: inline-block;
    background: #fff;
    color: #0b62d6;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.42rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}
.hp-finale-btn:hover { opacity: 0.9; color: #0b62d6; }
.hp-finale-sublink {
    color: rgba(255,255,255,0.68);
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
}
.hp-finale-sublink:hover { color: #fff; text-decoration: underline; }
.hp-finale-nl-form {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}
.hp-finale-nl-form input[type="email"] {
    width: 190px;
    padding: 0.42rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    background: rgba(255,255,255,0.13);
    color: #fff;
    font-size: 0.82rem;
    outline: none;
}
.hp-finale-nl-form input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.hp-finale-nl-form input[type="email"]:focus { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }
.hp-finale-nl-form button {
    padding: 0.42rem 0.85rem;
    background: #fff;
    color: #0b62d6;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}
.hp-finale-nl-form button:hover { opacity: 0.92; }
.hp-finale-nl-form button:disabled { opacity: 0.6; cursor: default; }
.hp-finale-msg { font-size: 0.82rem; font-weight: 500; color: #fff; }
.hp-finale-msg--err { color: #fecaca; }
@media (max-width: 700px) {
    .hp-finale { padding: 1.25rem 0; }
    .hp-finale-inner { flex-direction: column; align-items: stretch; gap: 0.85rem; }
    .hp-finale-half { flex-wrap: wrap; gap: 0.6rem 0.75rem; width: 100%; align-items: center; }
    .hp-finale-divider { display: none; }
    .hp-finale-label { flex: 1; min-width: 0; }
    .hp-finale-label strong,
    .hp-finale-label span { white-space: normal; }
    .hp-finale-actions {
        flex: 0 0 100%;
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
    }
    .hp-finale-btn { flex: 1; text-align: center; }
    .hp-finale-sublink { flex: none; }
    .hp-finale-nl-form { flex: 0 0 100%; min-width: 0; }
    .hp-finale-nl-form input[type="email"] { flex: 1; min-width: 0; width: auto; }
    .hp-finale-inner--single .hp-finale-half { justify-content: flex-start; }
}