/* Letná lúka – spoločné tokeny, písmo, hlavička, pätička, tlačidlá */

:root {
    --ll-paper: #F7F3EC;
    --ll-ink: #1C2822;
    --ll-muted: #3E4A43;
    --ll-line: rgba(28, 40, 34, 0.12);
    --ll-meadow: #1F7A4D;
    --ll-meadow-ink: #145C38;
    --ll-meadow-dark: #176140;
    --ll-sun: #E8A317;
    --ll-clay: #D4654A;
    --ll-sky: #E4EEF6;
    --ll-white: #ffffff;
    --ll-radius: 8px;
    --ll-font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --ll-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --home-theme: #1F7A4D;
    --brand-cream: #F9F8F5;
    --brand-lightgreen: #F0F4E8;
    --brand-blue: #E6F0F9;
    --brand-dark: #1B4D3E;
}

html {
    font-family: var(--ll-font);
}

body {
    font-family: var(--ll-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ll-ink);
    background: var(--ll-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ll-display);
    color: var(--ll-meadow-ink);
    text-transform: none;
    letter-spacing: -0.025em;
}

body h1 {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ll-meadow-ink);
}

body h2 {
    font-size: clamp(1.1rem, 2.1vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

body h3 {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

p, li {
    font-weight: 400;
    line-height: 1.65;
}

h1 a:hover, h1 a:focus, h2 a:hover, h2 a:focus, h3 a:hover, h3 a:focus,
h4 a:hover, h4 a:focus, h5 a:hover, h5 a:focus, h6 a:hover, h6 a:focus {
    color: var(--ll-meadow-ink);
}

:focus-visible {
    outline: 3px solid var(--ll-meadow);
    outline-offset: 3px;
}

h1 a:focus-visible,
h2 a:focus-visible,
h3 a:focus-visible,
a:focus-visible {
    outline: 3px solid var(--ll-meadow) !important;
    outline-offset: 3px;
}

.ll-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 10000;
    background: var(--ll-white);
    color: var(--ll-ink);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.ll-skip:focus {
    top: 1rem;
}

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

/* Tlačidlá zdieľané so zvyškom webu */
.btn-theme,
.nir-btn,
.nir-btn-black,
.ll-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    border: 2px solid var(--ll-meadow);
    background: var(--ll-meadow) !important;
    color: var(--ll-white) !important;
    font-family: var(--ll-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    text-decoration: none;
    box-shadow: none;
    overflow: visible;
}

.btn-theme::before,
.nir-btn::before,
.nir-btn-black::before,
.ll-btn::before {
    display: none !important;
}

.btn-theme:hover,
.nir-btn:hover,
.nir-btn-black:hover,
.ll-btn:hover {
    background: var(--ll-meadow-dark) !important;
    border-color: var(--ll-meadow-dark);
    color: var(--ll-white) !important;
}

.ll-btn--ghost {
    background: transparent !important;
    color: var(--ll-ink) !important;
    border-color: var(--ll-line);
}

.ll-btn--ghost:hover {
    background: var(--ll-white) !important;
    border-color: var(--ll-meadow);
    color: var(--ll-meadow-ink) !important;
}

.bg-theme {
    background: var(--ll-meadow) !important;
}

.text-theme {
    color: var(--ll-meadow-ink) !important;
}

/* Hlavička */
.ll-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--brand-cream) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ll-line);
}

.ll-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    min-height: 72px;
}

.ll-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-right: auto;
    color: var(--ll-ink);
    text-decoration: none;
    min-height: 44px;
}

.ll-brand:hover {
    color: var(--ll-ink);
}

.ll-brand-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(200px, 62vw);
    object-fit: contain;
}

@media (min-width: 768px) {
    .ll-brand-logo {
        height: 52px;
        max-width: 240px;
    }
}

.ll-mark {
    width: 36px;
    height: 36px;
    display: block;
    flex: none;
}

.ll-brand-name {
    font-family: var(--ll-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.ll-nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--ll-line);
    border-radius: 8px;
    background: var(--ll-white);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.ll-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ll-ink);
    border-radius: 2px;
}

.ll-nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
}

.ll-nav.show {
    display: flex;
}

.ll-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: 8px;
    color: var(--ll-ink);
    text-decoration: none;
    font-weight: 550;
}

.ll-nav a:hover,
.ll-nav a[aria-current="page"] {
    background: var(--ll-white);
    color: var(--ll-meadow-ink);
}

.ll-nav .ll-btn {
    margin-top: 0.35rem;
}

.ll-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.ll-nav-actions .ll-btn {
    margin-top: 0;
}

/* —— Nav dropdown (Tábory) —— */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    gap: 0.35rem;
}

.nav-dropdown__caret {
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.7;
}

.nav-dropdown__menu {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0.25rem 0 0.35rem 0.5rem;
    padding: 0.55rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--ll-line);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    max-height: 0;
    overflow: hidden;
}

.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 24rem;
    overflow: visible;
}

.nav-dropdown__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 40px;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    color: var(--ll-ink);
    text-decoration: none;
    font-weight: 550;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
    background: #F3F8F5;
    color: var(--ll-meadow-ink);
}

.nav-dropdown__featured {
    color: #132a1e !important;
    font-weight: 700 !important;
}

.nav-dropdown__sep {
    margin: 0.25rem 0.35rem;
    border: 0;
    border-top: 1px solid var(--ll-line);
}

.nav-dropdown__with-badge {
    justify-content: flex-start;
}

.nav-dropdown__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.25rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: #145C38;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* —— Wishlist —— */
.ll-nav .header-wishlist {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 8px;
    color: var(--ll-ink);
    text-decoration: none;
}

.ll-nav .header-wishlist:hover,
.ll-nav .header-wishlist:focus-visible,
.ll-nav .header-wishlist[aria-current="page"] {
    background: var(--ll-white);
    color: #B91C1C;
}

.header-wishlist__badge {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #DC2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-cream) 92%, transparent);
}

@media (min-width: 992px) {
    .ll-nav-toggle {
        display: none;
    }

    .ll-header-inner {
        gap: 1.5rem;
        flex-wrap: nowrap;
    }

    .ll-nav,
    .ll-nav.collapse {
        display: flex !important;
        flex: 0 1 auto;
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
        padding-bottom: 0;
        height: auto !important;
        visibility: visible !important;
    }

    .ll-nav .ll-btn {
        margin-top: 0;
        margin-left: 0;
    }

    .ll-nav-actions {
        margin-top: 0;
        margin-left: 0.5rem;
        flex-wrap: nowrap;
    }

    .nav-dropdown__menu {
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0;
        z-index: 1100;
        min-width: 16.5rem;
        margin: 0;
        max-height: none;
        overflow: visible;
    }

    .nav-dropdown:hover .nav-dropdown__menu,
    .nav-dropdown:focus-within .nav-dropdown__menu,
    .nav-dropdown.is-open .nav-dropdown__menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Invisible bridge so hover doesn't drop between trigger and menu */
    .nav-dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.45rem;
    }
}

/* Pätička */
footer.ll-footer {
    background: var(--brand-dark);
    color: #F7F3EC;
    overflow: hidden;
    padding: 3.5rem 0 1.5rem;
}

footer.ll-footer a,
footer.ll-footer p,
footer.ll-footer li {
    color: rgba(247, 243, 236, 0.82);
    font-weight: 400;
}

footer.ll-footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.ll-footer a:hover,
footer.ll-footer a:focus-visible {
    color: #fff !important;
}

footer.ll-footer h2,
footer.ll-footer .ll-footer-heading {
    font-family: var(--ll-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A7D4B8;
    margin: 0 0 0.95rem;
}

footer.ll-footer h2::after,
footer.ll-footer h3::after {
    display: none;
}

.ll-footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.ll-footer-col--brand {
    max-width: 28rem;
}

footer.ll-footer .ll-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--ll-display);
    font-size: 1.55rem;
    color: #F7F3EC !important;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
}

footer.ll-footer .ll-footer-brand:hover,
footer.ll-footer .ll-footer-brand:focus-visible {
    color: #fff !important;
}

.ll-footer-mark {
    width: 3rem;
    height: 3rem;
    flex: none;
    display: block;
    object-fit: contain;
}

footer.ll-footer .ll-footer-lead {
    margin: 0.85rem 0 0;
    color: rgba(247, 243, 236, 0.86);
    line-height: 1.55;
    font-size: 0.98rem;
}

.ll-footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.9rem 0 0;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    background: rgba(247, 243, 236, 0.08);
    border: 1px solid rgba(247, 243, 236, 0.14);
    color: #D7E8DC;
    font-size: 0.88rem;
    font-weight: 600;
}

.ll-footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.95rem;
    color: #F7F3EC !important;
    font-weight: 600;
}

.ll-footer-mail svg {
    flex: none;
    opacity: 0.9;
}

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

.ll-footer-list li {
    margin: 0;
}

.ll-footer-list a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.15rem 0;
    color: rgba(209, 250, 229, 0.78);
}

.ll-footer-partner-text {
    margin: 0 0 1rem;
    color: rgba(247, 243, 236, 0.86);
    line-height: 1.5;
    font-size: 0.98rem;
}

.ll-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(167, 212, 184, 0.55);
    color: #EAF6EF !important;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ll-footer-cta:hover,
.ll-footer-cta:focus-visible {
    background: rgba(247, 243, 236, 0.08);
    border-color: #F7F3EC;
    color: #fff !important;
}

.ll-footer-partner-login {
    display: inline-flex;
    margin-top: 0.85rem;
    color: rgba(209, 250, 229, 0.78);
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

footer.ll-footer .ll-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(247, 243, 236, 0.16);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: rgba(247, 243, 236, 0.72);
}

.ll-footer-copy {
    margin: 0;
    color: rgba(247, 243, 236, 0.72);
}

.ll-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
}

.ll-footer-legal a {
    color: rgba(247, 243, 236, 0.7);
    font-size: 0.86rem;
}

@media (min-width: 768px) {
    .ll-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 2rem;
    }
}

@media (min-width: 992px) {
    .ll-footer-grid {
        grid-template-columns: minmax(0, 3.6fr) minmax(0, 2.4fr) minmax(0, 2.4fr) minmax(0, 2.6fr);
        gap: 2.5rem 2rem;
        align-items: start;
    }

    .ll-footer-col--brand {
        max-width: none;
        padding-right: 1rem;
    }
}

footer.ll-footer.bg-brand-dark {
    background-color: var(--brand-dark);
}

@media (prefers-reduced-motion: reduce) {
    .ll-header {
        backdrop-filter: none;
    }

    footer.ll-footer a {
        transition: none;
    }
}

.ll-preview-bar {
    position: sticky;
    top: 0;
    z-index: 2000;
    padding: 0.55rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--ll-clay, #D4654A);
}

.ll-preview-bar a {
    color: #fff;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Brand zebra utilities (mirror tailwind.config.js theme.extend.colors) */
.bg-brand-cream {
    background-color: var(--brand-cream);
}

.bg-brand-lightgreen {
    background-color: var(--brand-lightgreen);
}

.bg-brand-blue {
    background-color: var(--brand-blue);
}

.bg-brand-dark {
    background-color: var(--brand-dark);
}

/* Error pages */
.ll-error-page { padding: 4rem 0; }
.ll-error-card { max-width: 38rem; margin: 0 auto; padding: 2.5rem 2rem; text-align: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; }
.ll-error-card h1 { margin: 0 0 .75rem; }
.ll-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

.ll-hero-proof { margin: .75rem 0 0; font-size: .95rem; font-weight: 600; color: var(--ll-green, #1f7a4d); }
