/*
 * Vzhled náhradních shortcodů ThemeSky (ts_heading, ts_feature, ts_price_table).
 * Načítá se jen tehdy, když shortcody vykresluje plugin (ThemeSky je vypnutý).
 * Barvy a velikosti jsou v proměnných nahoře, při stavbě v Porto se doladí tam.
 */
:root {
    --alas-ts-primarni: #0083c4;   /* firemní modrá ALAS */
    --alas-ts-text: #3f3f3f;       /* tmavá ALAS */
    --alas-ts-cara: #e5e5e5;       /* linky u nadpisu a rámečky */
    --alas-ts-pozadi-boxu: #f8f8f8;
    --alas-ts-hvezdy: #ffad00;
    --alas-ts-nadpis-velikost: 26px;
    --alas-ts-nadpis-radek: 30px;
}

/* ---------- [ts_heading]: nadpis na středu s linkami po stranách ---------- */
.ts-heading {
    margin: 0 0 35px 0;
    overflow: hidden;
}
.ts-heading.center {
    text-align: center;
    margin-bottom: 40px;
}
.ts-heading h1, .ts-heading h2, .ts-heading h3, .ts-heading h4 {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0 20px 0 0;
}
.ts-heading.center h1, .ts-heading.center h2, .ts-heading.center h3, .ts-heading.center h4 {
    padding: 0 20px;
}
.ts-heading h2 {
    font-size: var(--alas-ts-nadpis-velikost);
    line-height: var(--alas-ts-nadpis-radek);
}
.ts-heading h1::after, .ts-heading h2::after, .ts-heading h3::after, .ts-heading h4::after,
.ts-heading.center h1::before, .ts-heading.center h2::before, .ts-heading.center h3::before, .ts-heading.center h4::before {
    content: "";
    position: absolute;
    width: 1900px;
    height: 0;
    border-top: 1px solid var(--alas-ts-cara);
}
.ts-heading h1::after, .ts-heading h2::after, .ts-heading h3::after, .ts-heading h4::after {
    left: 100%;
    bottom: 6px;
}
.ts-heading.center h1::after, .ts-heading.center h2::after, .ts-heading.center h3::after, .ts-heading.center h4::after {
    top: 50%;
    bottom: auto;
}
.ts-heading.center h1::before, .ts-heading.center h2::before, .ts-heading.center h3::before, .ts-heading.center h4::before {
    right: 100%;
    top: 50%;
}
@media only screen and (max-width: 767px) {
    .ts-heading h2 { font-size: 22px; line-height: 26px; }
}

/* ---------- [ts_feature]: box s ikonou a nadpisem ---------- */
.ts-feature-wrapper {
    margin-bottom: 20px;
}
.ts-feature-wrapper .feature-content {
    position: relative;
    padding: 25px 15px;
}
.ts-feature-wrapper.feature-vertical .feature-content {
    text-align: center;
}
.ts-feature-wrapper.has-border .feature-content {
    border-width: 1px;
    border-style: solid;
}
.ts-feature-wrapper.feature-vertical.has-border .feature-content {
    padding: 20px;
}
/* Vodorovná varianta (ikona vlevo, text vpravo). V popisech produktů se nepoužívá, jen pro jistotu. */
.ts-feature-wrapper.feature-horizontal .feature-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.ts-feature-wrapper.feature-horizontal .feature-icon {
    margin-bottom: 0;
}
.ts-feature-wrapper .feature-thumbnail {
    position: relative;
}
.ts-feature-wrapper .feature-thumbnail .overlay {
    display: none;
}
.ts-feature-wrapper .feature-icon {
    display: inline-block;
    color: #000;
    line-height: 0;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color .2s ease;
}
.ts-feature-wrapper .feature-icon:hover,
.ts-feature-wrapper .feature-icon:focus {
    color: var(--alas-ts-primarni);
}
.ts-feature-wrapper .alas-ts-ikona {
    width: 64px;
    height: 64px;
}
.ts-feature-wrapper.icon-small .alas-ts-ikona { width: 56px; height: 56px; }
.ts-feature-wrapper.icon-big .alas-ts-ikona { width: 80px; height: 80px; }
.ts-feature-wrapper .feature-icon i { font-size: 48px; line-height: 1; }
.ts-feature-wrapper .feature-thumbnail { display: inline-block; line-height: 0; margin-bottom: 13px; max-width: 100%; }
.ts-feature-wrapper .feature-thumbnail img { max-width: 100%; height: auto; }
.ts-feature-wrapper .feature-header h3 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}
.ts-feature-wrapper .feature-header h3 a {
    color: var(--alas-ts-text);
    text-decoration: none;
}
.ts-feature-wrapper.active-feature .feature-header h3 a,
.ts-feature-wrapper .feature-header h3 a:hover {
    color: var(--alas-ts-primarni);
}
.ts-feature-wrapper.text-light .feature-header *,
.ts-feature-wrapper.text-light .feature-icon {
    color: #fff;
}

/* ---------- [ts_price_table]: cenová tabulka ---------- */
.ts-price-table {
    --alas-ts-barva-tabulky: var(--alas-ts-barva, var(--alas-ts-primarni));
    position: relative;
    margin-bottom: 20px !important;
    text-align: center;
    border: 1px solid var(--alas-ts-cara);
    transition: border-color .2s ease;
}
.ts-price-table.active-table,
.ts-price-table:hover {
    border-color: var(--alas-ts-barva-tabulky);
}
.ts-price-table header {
    position: relative;
    z-index: 2;
    padding: 28px 10px 0 10px;
}
.ts-price-table .table-price,
.ts-price-table .desc-price,
.ts-price-table .table-title {
    color: var(--alas-ts-barva-tabulky);
    font-weight: 500;
}
.ts-price-table .table-price {
    position: relative;
    font-size: 60px;
    line-height: 50px;
    padding: 0 0 0 16px;
}
.ts-price-table .table-price span {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 24px;
    line-height: 28px;
}
.ts-price-table .desc-price {
    font-size: 16px;
}
.ts-price-table .during-price-description:empty {
    display: none;
}
.ts-price-table .table-title {
    display: inline-block;
    min-width: 184px;
    margin: -5px 0 0;
    padding: 10px;
    font-size: 20px;
    line-height: 26px;
    background: #fff;
    border: 1px solid var(--alas-ts-barva-tabulky);
    border-radius: 8px;
    transform: translate(0, 50%);
}
.ts-price-table .table-description {
    position: relative;
    padding: 40px 0 30px 0;
    background: #fafafa;
}
.ts-price-table .table-description ul {
    margin: 0;
    padding: 0;
}
.ts-price-table .table-description ul li {
    list-style: none;
    padding: 10px 0;
}
.ts-price-table .table-description > a.button-price-table {
    display: block;
    margin: 0 30px;
    color: #fff;
    background: var(--alas-ts-barva-tabulky);
    border: 1px solid var(--alas-ts-barva-tabulky);
    text-decoration: none;
}
.ts-price-table .table-description > a.button-price-table:hover,
.ts-price-table .table-description > a.button-price-table:focus {
    color: var(--alas-ts-barva-tabulky);
    background: transparent;
}
/* Hvězdičky hodnocení (bez písma „star“ z WooCommerce) */
.ts-price-table .alas-ts-rating {
    position: relative;
    display: inline-block;
    margin: 10px auto 15px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 3px;
    color: #d3d3d3;
}
.ts-price-table .alas-ts-rating::before {
    content: "\2605\2605\2605\2605\2605";
}
.ts-price-table .alas-ts-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--alas-ts-hvezdy);
}
.ts-price-table .alas-ts-rating span::before {
    content: "\2605\2605\2605\2605\2605";
}
