/* Styly pro úvodní stránku (index.php) – přesunuto z inline <style> bloků a style="" atributů */

.tariff-compare {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(1, 41, 112, 0.06);
    margin-top: 48px;
    overflow: hidden;
}

.tariff-compare-intro {
    border-bottom: 1px solid #edf0f5;
    padding: 22px 24px;
}

.tariff-compare-intro h3 {
    color: var(--ss-orange);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.tariff-compare-intro p {
    color: #6c757d;
    margin: 0;
}

.tariff-compare-scroll {
    overflow-x: auto;
}

.tariff-compare-table {
    min-width: 960px;
    margin: 0;
}

.tariff-compare-table th,
.tariff-compare-table td {
    border-color: #edf0f5;
    padding: 9px 14px;
    vertical-align: middle;
}

.tariff-compare-table thead th {
    background: #f8fafc;
    color: #9b0037;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.tariff-compare-table thead small {
    color: #9b0037;
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    margin-top: 3px;
}

.tariff-compare-table .feature-col {
    background: #fff;
    color: #343434;
    font-weight: 600;
    left: 0;
    min-width: 260px;
    position: sticky;
    z-index: 2;
}

.tariff-compare-table thead .feature-col {
    background: #f8fafc;
    z-index: 3;
}

.tariff-compare-table tbody tr:hover .feature-col,
.tariff-compare-table tbody tr:hover td {
    background: #fffaf6;
}

.tariff-group-row th {
    background: #fff;
    color: var(--ss-orange-text);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tariff-text-value {
    color: #9b0037;
    font-weight: 800;
    white-space: nowrap;
}

.tariff-text-empty {
    color: #b8bec8;
    font-weight: 700;
}

.tariff-status {
    align-items: center;
    display: inline-flex;
    font-size: 19px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.tariff-status-included {
    color: #4cc778;
}

.tariff-status-missing {
    color: #f15d7f;
}

.tariff-compare-toggle {
    display: none;
}

@media (max-width: 767.98px) {
    .tariff-compare-toggle {
        align-items: center;
        background: var(--ss-orange);
        border: 0;
        border-radius: 8px;
        box-shadow: 0 8px 22px rgba(255, 159, 67, 0.22);
        color: var(--ss-on-orange);
        display: flex;
        font-family: "Nunito", sans-serif;
        font-size: 15px;
        font-weight: 800;
        gap: 10px;
        justify-content: center;
        line-height: 1.25;
        margin: 28px 0 0;
        padding: 13px 16px;
        width: 100%;
    }

    .tariff-compare-toggle:hover,
    .tariff-compare-toggle:focus {
        background: var(--ss-orange-hover);
        color: var(--ss-on-orange);
    }

    .tariff-compare-toggle .bi-table {
        font-size: 18px;
        line-height: 1;
    }

    .tariff-compare-toggle-icon {
        font-size: 16px;
        line-height: 1;
        margin-left: auto;
        transition: transform .2s ease;
    }

    .tariff-compare-toggle[aria-expanded="true"] .tariff-compare-toggle-icon {
        transform: rotate(180deg);
    }

    .tariff-compare {
        display: none;
        margin-top: 32px;
        overflow: visible;
    }

    .tariff-compare.is-mobile-visible {
        display: block;
    }

    .tariff-compare-intro {
        padding: 18px 16px;
    }

    .tariff-compare-intro h3 {
        font-size: 20px;
    }

    .tariff-compare-scroll {
        overflow-x: visible;
    }

    .tariff-compare-table {
        display: block;
        min-width: 0;
    }

    .tariff-compare-table thead {
        display: none;
    }

    .tariff-compare-table tbody,
    .tariff-compare-table tbody tr,
    .tariff-compare-table tbody th,
    .tariff-compare-table tbody td {
        display: block;
        width: 100%;
    }

    .tariff-compare-table tbody tr {
        border-top: 1px solid #edf0f5;
        padding: 12px 14px;
    }

    .tariff-compare-table tbody tr:first-child {
        border-top: 0;
    }

    .tariff-compare-table th,
    .tariff-compare-table td {
        border: 0;
        padding: 0;
    }

    .tariff-compare-table .feature-col {
        background: transparent;
        color: #343434;
        font-size: 15px;
        left: auto;
        line-height: 1.35;
        margin-bottom: 10px;
        min-width: 0;
        position: static;
    }

    .tariff-compare-table tbody td {
        align-items: center;
        border-top: 1px dashed #edf0f5;
        column-gap: 12px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 38px;
        padding: 8px 0;
        text-align: right !important;
    }

    .tariff-compare-table tbody td::before {
        color: #6c757d;
        content: attr(data-label);
        font-family: "Nunito", sans-serif;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.25;
        min-width: 0;
        text-align: left;
    }

    .tariff-compare-table tbody td > * {
        justify-self: end;
        min-width: 0;
    }

    .tariff-text-value {
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .tariff-status {
        margin-left: auto;
    }

    .tariff-group-row {
        background: #f8fafc;
        border-top: 0;
        padding: 11px 14px;
    }

    .tariff-group-row th {
        background: transparent;
        color: var(--ss-orange-text);
        font-size: 13px;
        margin: 0;
        padding: 0;
    }

    .tariff-group-row + tr {
        border-top: 0;
    }

    .tariff-compare-table tbody tr:hover .feature-col,
    .tariff-compare-table tbody tr:hover td {
        background: transparent;
    }
}

.tariff-catalog-note {
    background: #fff7ef;
    border-left: 4px solid var(--ss-orange);
    border-radius: 4px;
    color: #343434;
    margin-top: 32px;
    padding: 14px 18px;
}

/* === Lightbox === */
.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.lb-overlay.lb-show {
    display: flex;
}

.lb-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.lb-img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .6);
    border-radius: 8px;
}

.lb-caption {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    max-width: 90vw;
    opacity: .9;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .5);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 44px;
    text-align: center;
}

.lb-close {
    top: -12px;
    right: -12px;
    transform: none;
    width: 36px;
    height: 36px;
    line-height: 36px;
}

.lb-prev {
    left: -56px;
}

.lb-next {
    right: -56px;
}

@media (max-width: 992px) {
    .lb-prev {
        left: -36px;
    }

    .lb-next {
        right: -36px;
    }
}

#services .service-box img {
    aspect-ratio: 16 / 9;
    cursor: zoom-in;
    object-fit: cover;
    width: 100%;
}

#services .service-category-list {
    display: block;
}

#services .service-category + .service-category {
    margin-top: 48px;
}

#services .service-category-title {
    color: var(--ss-orange);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 22px;
}

#services .service-box h3 {
    color: #343434;
}

#services .service-module-col {
    display: flex;
}

#services .service-box {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

#services .service-box p {
    flex: 1 1 auto;
    margin-bottom: 16px;
}

.service-video-button {
    align-items: center;
    background: rgba(255, 159, 67, .08);
    border: 1px solid rgba(255, 159, 67, .24);
    border-radius: 8px;
    color: var(--ss-orange-text);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    margin-top: auto;
    padding: 9px 14px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.service-video-button:hover,
.service-video-button:focus {
    background: var(--ss-orange);
    border-color: var(--ss-orange);
    color: var(--ss-on-orange);
}

.services .service-box:hover .service-video-button {
    background: #fff;
    border-color: #fff;
    color: var(--ss-orange-text);
}

.service-video-button i {
    font-size: 19px;
    line-height: 1;
}

.tariff-feature-heading {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
}

.tariff-feature-heading > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tariff-video-button {
    align-items: center;
    background: rgba(255, 159, 67, .1);
    border: 0;
    border-radius: 50%;
    color: var(--ss-orange-text);
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 16px;
    height: 28px;
    justify-content: center;
    padding: 0;
    transition: background-color .2s ease, color .2s ease;
    width: 28px;
}

.tariff-video-button:hover,
.tariff-video-button:focus {
    background: var(--ss-orange);
    color: var(--ss-on-orange);
}

.service-video-modal video {
    aspect-ratio: 16 / 9;
    background: #111827;
    display: block;
    width: 100%;
}

.service-video-fallback {
    background: #fff7e6;
    color: #6b4f16;
    display: none;
    padding: 14px 16px;
}

@media (max-width: 575.98px) {
    .service-video-button {
        width: 100%;
    }
}

/* === Dříve inline style="" atributy === */
.gtm-noscript {
    display: none;
    visibility: hidden;
}

.counts .count-box i.count-icon-orange {
    color: var(--ss-orange);
}

.counts .count-box i.count-icon-green {
    color: #15be56;
}

.pricing .featured.featured-small {
    font-size: 60% !important;
    font-weight: bold !important;
}

.pricing h3.pricing-title-free {
    color: var(--ss-orange);
}

.pricing h3.pricing-title-standard {
    color: var(--ss-orange);
}

.pricing h3.pricing-title-profi {
    color: var(--ss-orange);
}

/*--------------------------------------------------------------
# Hero – carousel reklam v "monitoru" s ovládáním přehrávače
# (automaticky, bez zvuku, s titulky; vpravo vedle textů)
--------------------------------------------------------------*/

.hero-ads {
    --swiper-theme-color: var(--ss-orange);
    --swiper-navigation-size: 16px;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.hero-monitor {
    background: linear-gradient(180deg, #2b3142, #1b1f2b);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(1, 41, 112, .25);
    padding: 12px 12px 26px;
    position: relative;
}

/* Kamera nahoře a kontrolka dole na rámečku */
.hero-monitor::before,
.hero-monitor::after {
    border-radius: 50%;
    content: '';
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.hero-monitor::before {
    background: #3d4458;
    height: 5px;
    top: 4px;
    width: 5px;
}

.hero-monitor::after {
    background: var(--ss-orange);
    bottom: 10px;
    box-shadow: 0 0 6px rgba(255, 159, 67, .8);
    height: 6px;
    width: 6px;
}

.hero-monitor-screen {
    background: #111;
    border-radius: 5px;
    overflow: hidden;
}

.hero-ads video {
    aspect-ratio: 16 / 9;
    background: #111;
    display: block;
    width: 100%;
}

.hero-ads video::cue {
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.hero-ads .swiper-button-prev,
.hero-ads .swiper-button-next {
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    height: 32px;
    width: 32px;
}

.hero-ads .swiper-button-prev::after,
.hero-ads .swiper-button-next::after {
    font-weight: 700;
}

/* Ovládací lišta přehrávače */
.hero-player {
    align-items: center;
    background: #11141c;
    display: flex;
    gap: 10px;
    padding: 6px 10px;
}

.hero-player-btn {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: 20px;
    height: 32px;
    justify-content: center;
    padding: 0;
    transition: background .2s, color .2s;
    width: 32px;
}

.hero-player-btn:hover,
.hero-player-btn:focus-visible {
    background: rgba(255, 255, 255, .12);
    color: var(--ss-orange);
}

.hero-player-time {
    color: #c9ced8;
    flex: 0 0 auto;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.hero-player-seek {
    --progress: 0%;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--ss-orange) 0%, var(--ss-orange) var(--progress), rgba(255, 255, 255, .25) var(--progress), rgba(255, 255, 255, .25) 100%);
    border-radius: 3px;
    cursor: pointer;
    flex: 1 1 auto;
    height: 5px;
    margin: 0;
    min-width: 0;
}

.hero-player-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 159, 67, .6);
    height: 13px;
    width: 13px;
}

.hero-player-seek::-moz-range-thumb {
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 159, 67, .6);
    height: 13px;
    width: 13px;
}

.hero-monitor-stand {
    height: 48px;
    margin: 0 auto;
    position: relative;
    width: 220px;
}

.hero-monitor-stand::before {
    background: linear-gradient(180deg, #8f96a5, #c9ced8);
    clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
    content: '';
    height: 38px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 100px;
}

.hero-monitor-stand::after {
    background: linear-gradient(180deg, #d5d9e1, #a9afbc);
    border-radius: 6px 6px 3px 3px;
    bottom: 0;
    box-shadow: 0 8px 16px rgba(1, 41, 112, .18);
    content: '';
    height: 10px;
    left: 0;
    position: absolute;
    right: 0;
}

.hero-ads .swiper-pagination {
    margin-top: 12px;
    position: static;
    text-align: center;
}

.hero-ads .swiper-pagination-bullet {
    height: 10px;
    width: 10px;
}

@media (max-width: 991px) {
    .hero .hero-img {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero-monitor {
        border-radius: 12px;
        padding: 8px 8px 18px;
    }
    .hero-monitor::before {
        height: 4px;
        top: 2px;
        width: 4px;
    }
    .hero-monitor::after {
        bottom: 6px;
        height: 5px;
        width: 5px;
    }
    .hero-monitor-stand {
        height: 34px;
        width: 160px;
    }
    .hero-monitor-stand::before {
        height: 27px;
        width: 72px;
    }
    .hero-monitor-stand::after {
        height: 7px;
    }
    .hero-ads video::cue {
        font-size: 13px;
    }
    .hero-ads .swiper-button-prev,
    .hero-ads .swiper-button-next {
        height: 28px;
        width: 28px;
    }
    .hero-player {
        gap: 6px;
        padding: 4px 6px;
    }
    .hero-player-time {
        font-size: 12px;
    }
}
