/* Výpis táborov */

/* rovnaký top padding ako detail tábora (reset proti style.css section padding) */
section.ll-band.ll-camps {
    padding: 1.5rem 0 5rem;
}

.ll-camps-head {
    margin-bottom: 1.25rem;
}

.ll-camps-head h1 {
    margin: 0;
}

.ll-camps .ll-breadcrumb {
    margin: 0 0 0.4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #6B756F;
}

.ll-camps .ll-breadcrumb a {
    color: #145C38;
    font-weight: 650;
    text-decoration: none;
}

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

.ll-camps-count {
    margin: 0.4rem 0 0;
    color: var(--ll-muted);
}

.catalog-intro {
    max-width: 800px;
    margin: 0 0 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.catalog-intro p {
    margin: 0;
    font-size: 0.98rem;
}

.catalog-seo-block {
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    padding: 3rem;
    background-color: #ffffff;
    border: 1px solid var(--ll-line, #E4E0D8);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    color: #4a5568;
    line-height: 1.65;
}

.catalog-seo-block h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: #132a1e;
    line-height: 1.3;
}

.catalog-seo-block h3 {
    margin: 1.5rem 0 0.55rem;
    font-size: 1.05rem;
    color: #132a1e;
    line-height: 1.35;
}

.catalog-seo-block p {
    margin: 0;
    font-size: 0.98rem;
}

.catalog-seo-block strong {
    color: #132a1e;
    font-weight: 700;
}

.catalog-seo-block em {
    font-style: italic;
    color: #145C38;
}

.catalog-seo-block .seo-link {
    color: #132a1e;
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid rgba(19, 42, 30, 0.28);
}

.catalog-seo-block .seo-link:hover,
.catalog-seo-block .seo-link:focus-visible {
    color: #145C38;
    border-bottom-color: #145C38;
    text-decoration: none;
}

@media (max-width: 640px) {
    .catalog-seo-block {
        padding: 1.5rem 1.15rem;
        margin-top: 2.5rem;
    }
}

.ll-camps-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .ll-camps-layout {
        grid-template-columns: 300px minmax(0, 1fr);
    }
}

.ll-camps-filters,
.ll-camps-main,
.ll-camps-layout > div {
    min-width: 0;
}

.ll-camps .ll-when {
    grid-template-columns: 1fr;
}

.ll-camps .ll-search input,
.ll-camps .ll-search select {
    min-width: 0;
    max-width: 100%;
}

.ll-camps-filters {
    position: sticky;
    top: 88px;
}

.ll-details {
    grid-column: 1 / -1;
}

.ll-details summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--ll-meadow-ink);
    font-weight: 700;
    cursor: pointer;
}

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

.ll-details .ll-advanced {
    margin-top: 0.75rem;
}

/* —— Filter groups —— */
.ll-filter-group {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.ll-filter-group legend.ll-label {
    float: none;
    width: auto;
    padding: 0;
    margin-bottom: 0.45rem;
}

.ll-camps .ll-check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
    color: var(--ll-ink, #1C2822);
    cursor: pointer;
    line-height: 1.35;
}

/* Override .ll-search input { width:100%; min-height:48px } for checkboxes */
.ll-camps .ll-search .ll-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    max-width: 1.1rem;
    min-height: 1.1rem;
    margin: 0.15rem 0 0;
    padding: 0;
    border-radius: 3px;
    background: #fff;
    appearance: auto;
}

.ll-camps .ll-check span {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-clear-filters {
    display: block;
    text-align: center;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    font-weight: 650;
    color: #6B756F;
    text-decoration: none;
}

.catalog-clear-filters:hover,
.catalog-clear-filters:focus-visible {
    color: #132a1e;
    text-decoration: underline;
}

/* —— Sort bar —— */
.catalog-sort-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.catalog-sort-bar__form {
    margin: 0;
    margin-left: auto;
}

.view-toggle {
    display: inline-flex;
    border: 1px solid var(--ll-line, #E4E0D8);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.view-btn {
    appearance: none;
    border: 0;
    background: #fff;
    color: #145C38;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    line-height: 1.2;
}

.view-btn + .view-btn {
    border-left: 1px solid var(--ll-line, #E4E0D8);
}

.view-btn.is-active {
    background: #132a1e;
    color: #fff;
}

.view-btn:focus-visible {
    outline: 3px solid rgba(31, 122, 77, 0.28);
    outline-offset: -3px;
    z-index: 1;
}

.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem 0.3rem 0.75rem;
    border-radius: 16px;
    background: #e6f0eb;
    color: #132a1e;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.25;
}

.filter-pill .remove-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    color: #145C38;
    text-decoration: none;
    font-size: 0.75rem;
    line-height: 1;
}

.filter-pill .remove-filter:hover,
.filter-pill .remove-filter:focus-visible {
    background: rgba(19, 42, 30, 0.1);
    color: #132a1e;
}

.clear-all-filters {
    margin-left: 0.15rem;
    font-size: 0.85rem;
    font-weight: 650;
    color: #6B756F;
    text-decoration: none;
}

.clear-all-filters:hover,
.clear-all-filters:focus-visible {
    color: #132a1e;
    text-decoration: underline;
}

.catalog-map-container {
    position: relative;
    height: 600px;
    border-radius: 8px;
    background: #e2e8f0;
    border: 1px solid var(--ll-line, #E4E0D8);
    overflow: hidden;
}

.catalog-map-container[hidden] {
    display: none !important;
}

.catalog-map {
    width: 100%;
    height: 100%;
    z-index: 0;
}

.catalog-map-container__placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1.5rem;
    color: #64748B;
    font-weight: 650;
    text-align: center;
    background: #e2e8f0;
}

.catalog-map-container__note {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 400;
    margin: 0;
    max-width: min(92%, 22rem);
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--ll-line, #E4E0D8);
    color: #4B5563;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    pointer-events: none;
}

.catalog-map-marker {
    background: transparent;
    border: 0;
}

.catalog-map-marker__pin {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #132a1e;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(19, 42, 30, 0.35);
}

.catalog-map-popup {
    font-family: inherit;
    color: #132a1e;
}

.catalog-map-popup strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.catalog-map-popup__place {
    margin: 0 0 0.35rem;
    color: #6B756F;
    font-size: 0.85rem;
}

.catalog-map-popup__kind {
    display: inline-flex;
    margin-bottom: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #EEF6F1;
    color: #145C38;
    font-size: 0.72rem;
    font-weight: 700;
}

.catalog-map-popup__note {
    margin: 0 0 0.45rem;
    color: #8a6a2f;
    font-size: 0.75rem;
}

.catalog-map-popup__link {
    display: inline-flex;
    margin-top: 0.15rem;
    color: #145C38;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.catalog-map-popup__link:hover,
.catalog-map-popup__link:focus-visible {
    text-decoration: underline;
    color: #132a1e;
}

.catalog-sort-bar__select,
.catalog-sort-bar .form-select {
    min-width: 12.5rem;
    max-width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--ll-line, #E4E0D8);
    border-radius: 8px;
    background: #fff;
    color: var(--ll-ink, #1C2822);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    appearance: auto;
    cursor: pointer;
}

.catalog-sort-bar__select:focus {
    outline: 3px solid rgba(31, 122, 77, 0.28);
    outline-offset: 2px;
    border-color: #1F7A4D;
}

/* —— Results grid + equal-height cards —— */
.ll-camps .camps-grid,
.ll-camps .ll-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}

.ll-camps .camp-card,
.ll-camps .agency-camp-card {
    height: 100%;
    min-width: 0;
}

.ll-camps .camp-card__main {
    height: 100%;
}

#catalog-camps-grid[hidden],
[data-catalog-results][hidden] {
    display: none !important;
}

.ll-camps .camp-card__image-wrapper,
.camps-grid .camp-card__image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
    background: #f0f7f4;
}

.ll-camps .camp-card__image-wrapper > img,
.camps-grid .camp-card__image-wrapper > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ll-camps .camp-card__fallback {
    background: #f0f7f4;
}

.ll-camps .camp-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ll-camps .camp-card__meta {
    margin-top: auto;
}

.ll-empty {
    margin: 0;
    padding: 1.5rem;
    background: var(--ll-white);
    border: 1px solid var(--ll-line);
    border-radius: 8px;
    color: var(--ll-muted);
}

.ll-pager {
    margin-top: 1.5rem;
}

.ll-pager .pagination {
    gap: 0.35rem;
    margin: 0;
}

.ll-pager .page-link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--ll-line);
    color: var(--ll-ink);
    background: var(--ll-white);
    font-weight: 600;
}

.ll-pager .page-item.active .page-link {
    background: var(--ll-meadow);
    border-color: var(--ll-meadow);
    color: var(--ll-white);
}

.ll-pager .page-item.disabled .page-link {
    color: var(--ll-muted);
    background: transparent;
}

@media (max-width: 991px) {
    .ll-camps-filters {
        position: static;
    }
}

/* —— Porovnanie táborov —— */
section.ll-band.ll-compare {
    padding: 1.5rem 0 5rem;
}

.ll-compare-head {
    margin-bottom: 1.5rem;
}

.ll-compare .ll-breadcrumb {
    margin: 0 0 0.4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #6B756F;
}

.ll-compare .ll-breadcrumb a {
    color: #145C38;
    font-weight: 650;
    text-decoration: none;
}

.ll-compare .ll-breadcrumb a:hover,
.ll-compare .ll-breadcrumb a:focus-visible {
    text-decoration: underline;
}

.ll-compare-head h1 {
    margin: 0 0 0.55rem;
    color: #132a1e;
}

.ll-compare-intro {
    margin: 0;
    max-width: 46rem;
    color: #4a5568;
    font-size: 0.98rem;
    line-height: 1.6;
}

.compare-empty {
    max-width: 36rem;
    padding: 1.5rem 0;
}

.compare-empty p {
    margin: 0 0 1rem;
    color: #4a5568;
    line-height: 1.55;
}

.compare-wrapper {
    overflow-x: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: transparent;
}

.compare-table__label {
    width: 11.5rem;
    min-width: 11.5rem;
    text-align: left;
    vertical-align: middle;
    background: transparent;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.compare-table__camp {
    width: auto;
    min-width: 14rem;
    vertical-align: top;
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid rgba(226, 232, 240, 0.7);
    vertical-align: middle;
    color: #132a1e;
    font-size: 0.95rem;
    line-height: 1.45;
    background: transparent;
}

.compare-table tbody th.compare-table__label,
.compare-table tbody td {
    padding: 1.05rem 1.15rem;
}

.compare-table th:last-child,
.compare-table td:last-child {
    border-right: 0;
}

.compare-table thead th {
    position: sticky;
    top: 72px;
    z-index: 10;
    background: var(--brand-cream, #F7F3EC);
    box-shadow: 0 1px 0 #e2e8f0;
    vertical-align: top;
    padding: 1rem 1.15rem 1.15rem;
}

.compare-table thead .compare-table__label {
    z-index: 11;
    background: var(--brand-cream, #F7F3EC);
    vertical-align: bottom;
}

.compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.25rem;
}

.compare-card__remove-form {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    margin: 0;
}

.compare-card__remove {
    appearance: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #57534E;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(19, 42, 30, 0.12);
}

.compare-card__remove:hover,
.compare-card__remove:focus-visible {
    color: #B91C1C;
    background: #fff;
    outline: none;
}

.compare-bar {
    position: sticky;
    bottom: 0;
    z-index: 40;
    margin-top: 1.5rem;
    padding: 0.85rem 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--ll-line, #E4E0D8);
    box-shadow: 0 -8px 24px rgba(19, 42, 30, 0.06);
    backdrop-filter: blur(8px);
}

.compare-bar__inner {
    display: grid;
    gap: 0.45rem;
}

.compare-bar__flash {
    margin: 0;
    color: #145C38;
    font-size: 0.88rem;
    font-weight: 650;
}

.compare-bar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.compare-bar__text {
    margin: 0;
    color: #132a1e;
    font-size: 0.95rem;
}

.compare-bar__actions {
    display: flex;
    gap: 0.5rem;
}

.compare-bar__disabled {
    opacity: 0.45;
    pointer-events: none;
}

.compare-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: #f0f7f4;
}

.compare-card__image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.compare-card__title {
    margin: 0.15rem 0 0;
    font-family: var(--ll-display, inherit);
    font-size: 1.1rem;
    line-height: 1.3;
    color: #132a1e;
}

.compare-card__agency {
    margin: 0;
    color: #6B756F;
    font-size: 0.88rem;
}

.compare-card__price {
    margin: 0.15rem 0 0;
}

.compare-card__cta {
    margin-top: 0.25rem;
    justify-content: center;
    text-align: center;
}

.compare-price {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1F7A4D;
    line-height: 1.2;
}

.compare-muted {
    color: #94A3B8;
    font-weight: 650;
}

.compare-bool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.compare-bool--yes {
    background: #EEF6F1;
    color: #145C38;
}

.compare-bool--no {
    background: #FEF2F2;
    color: #B91C1C;
}

.compare-diet-list {
    margin-left: 0.35rem;
    color: #132a1e;
    font-weight: 650;
    font-size: 0.9rem;
}

.compare-includes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.compare-includes li {
    position: relative;
    padding-left: 0.9rem;
    color: #334155;
    font-size: 0.9rem;
}

.compare-includes li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #145C38;
    font-weight: 700;
}

@media (max-width: 767px) {
    .compare-table thead th {
        top: 64px;
    }

    .compare-table__label {
        width: 8.5rem;
        min-width: 8.5rem;
        font-size: 0.78rem;
    }

    .compare-table th,
    .compare-table td,
    .compare-table tbody th.compare-table__label,
    .compare-table tbody td {
        padding: 0.9rem 0.85rem;
    }

    .compare-table__camp {
        min-width: 15rem;
    }
}

/* Suggest (autocomplete) */
.ll-suggest { position: relative; }
.ll-suggest__list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: .25rem 0 0; padding: .25rem; list-style: none; background: #fff; border: 1px solid var(--ll-line, #d9ded9); border-radius: 12px; box-shadow: 0 12px 28px rgba(28, 40, 34, .14); max-height: 320px; overflow-y: auto; }
.ll-suggest__list[hidden] { display: none; }
.ll-suggest__list li a { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem .65rem; border-radius: 8px; color: inherit; text-decoration: none; }
.ll-suggest__list li.is-active a, .ll-suggest__list li a:hover { background: #eef5f0; }
.ll-suggest__label { font-weight: 600; }
.ll-suggest__hint { color: #5b6862; font-size: .85em; white-space: nowrap; }

/* Empty state + saved search */
.ll-empty-state { padding: 1.25rem 0; }
.ll-empty-hints { margin: 1rem 0; padding: 1rem 1.25rem; background: #f7f3ec; border-radius: 12px; }
.ll-empty-hints__title { margin: 0 0 .5rem; font-weight: 600; }
.ll-empty-hints ul { margin: 0; padding-left: 1.1rem; }
.ll-empty-hints li { margin: .3rem 0; }
.ll-empty-hints li span { color: #5b6862; }
.ll-saved-search { margin: 1rem 0; border: 1px solid var(--ll-line, #d9ded9); border-radius: 12px; background: #fff; }
.ll-saved-search > summary { cursor: pointer; padding: .75rem 1rem; font-weight: 600; }
.ll-saved-search__body { padding: 0 1rem 1rem; max-width: 520px; }
.ll-saved-search__lead { margin: 0 0 .75rem; color: #5b6862; }
