/* SF Exercises — matched to sport-iv.ru (sf-health) */
.sf-ex-page {
    padding: 0 0 60px;
    background: #F8F8FE;
    color: #373742;
}

.sf-ex-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.sf-ex-h1 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #262630;
    margin: 0 0 8px;
}

.sf-ex-subtitle {
    margin: 0;
    color: #6E6E80;
    font-size: 15px;
    line-height: 1.5;
    max-width: 640px;
}

.sf-ex-search {
    display: flex;
    gap: 8px;
    min-width: 300px;
    flex: 0 1 380px;
}

.sf-ex-search input[type="text"] {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #DFDFEE;
    border-radius: 10px;
    background: #FFFFFF;
    font-size: 14px;
    color: #333;
}

.sf-ex-search input[type="text"]:focus {
    border-color: #946FDE;
}

.sf-ex-search__btn {
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 10px;
    background: #946FDE;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.sf-ex-search__btn:hover {
    background: #7C55CC;
}

/* Filters Box */
.sf-ex-filters-box {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(38, 38, 48, 0.04);
}

.sf-ex-active-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F0F0F8;
}

.sf-ex-active-bar__label {
    font-size: 13px;
    font-weight: 700;
    color: #767687;
}

.sf-ex-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #946FDE;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
}

.sf-ex-active-tag:hover {
    background: #7C55CC;
    color: #FFFFFF;
}

.sf-ex-reset-link {
    margin-left: auto;
    font-size: 13px;
    color: #946FDE;
    font-weight: 600;
}

.sf-ex-reset-link:hover {
    text-decoration: underline;
}

.sf-ex-filter-group {
    margin-bottom: 16px;
}

.sf-ex-filter-group:last-child {
    margin-bottom: 0;
}

.sf-ex-filter-group__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8B8B9E;
    margin-bottom: 10px;
}

.sf-ex-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-ex-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #F4F4FC;
    border: 1px solid transparent;
    color: #373742;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.sf-ex-chip:hover {
    background: #ECE6FA;
    border-color: #D2C2F5;
    color: #5E3BA6;
}

.sf-ex-chip.is-active {
    background: #946FDE;
    color: #FFFFFF;
}

.sf-ex-chip__cnt {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(55, 55, 66, 0.08);
    color: inherit;
}

.sf-ex-chip.is-active .sf-ex-chip__cnt {
    background: rgba(255, 255, 255, 0.22);
}

/* Grid */
.sf-ex-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sf-ex-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sf-ex-card {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sf-ex-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(148, 111, 222, 0.12);
    border-color: #D8CBF5;
}

.sf-ex-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    height: 210px;
    padding: 16px;
    border-bottom: 1px solid #F2F2F9;
}

.sf-ex-card__img {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sf-ex-gif-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(148, 111, 222, 0.12);
    color: #7C55CC;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}

.sf-ex-card.is-playing .sf-ex-gif-badge {
    background: #946FDE;
    color: #FFFFFF;
}

.sf-ex-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sf-ex-card__title {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 12px;
}

.sf-ex-card__title a {
    color: #262630;
}

.sf-ex-card__title a:hover {
    color: #946FDE;
}

.sf-ex-card__tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sf-ex-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.sf-ex-badge--cat {
    background: #F1EBFC;
    color: #6A44B8;
}

.sf-ex-badge--muscle {
    background: #E8F7F3;
    color: #13856A;
}

.sf-ex-badge--eq {
    background: #F4F4F8;
    color: #5E5E70;
}

/* Pagination */
.sf-ex-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.sf-ex-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-ex-pagination .page-numbers a,
.sf-ex-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #E5E5F2;
    color: #373742;
    font-weight: 600;
    font-size: 14px;
}

.sf-ex-pagination .page-numbers span.current {
    background: #946FDE;
    border-color: #946FDE;
    color: #FFFFFF;
}

.sf-ex-empty {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    border: 1px solid #ECECF6;
}

/* Single Exercise */
.sf-ex-single-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 28px rgba(38, 38, 48, 0.04);
}

.sf-ex-single-card__media {
    background: #FFFFFF;
    border: 1px solid #EFEFF8;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sf-ex-single-gif {
    width: 240px;
    height: 240px;
    object-fit: contain;
}

.sf-ex-media-caption {
    margin-top: 10px;
    font-size: 12px;
    color: #8B8B9E;
}

.sf-ex-en-name {
    font-size: 14px;
    color: #8B8B9E;
    margin-bottom: 20px;
}

.sf-ex-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.sf-ex-spec {
    background: #F8F8FE;
    border: 1px solid #EFEFF8;
    border-radius: 12px;
    padding: 12px 14px;
}

.sf-ex-spec--full {
    grid-column: 1 / -1;
}

.sf-ex-spec__label {
    display: block;
    font-size: 12px;
    color: #8B8B9E;
    margin-bottom: 4px;
}

.sf-ex-spec__val {
    font-size: 15px;
    font-weight: 700;
    color: #7C55CC;
}

.sf-ex-spec__val:hover {
    text-decoration: underline;
}

.sf-ex-spec__text {
    font-size: 15px;
    font-weight: 600;
    color: #373742;
}

.sf-ex-quick-links {
    margin-top: 8px;
}

.sf-ex-quick-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: #F1EBFC;
    color: #6A44B8;
    font-weight: 700;
    font-size: 14px;
}

.sf-ex-quick-link:hover {
    background: #946FDE;
    color: #FFFFFF;
}

/* Instructions */
.sf-ex-instructions {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
}

.sf-ex-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #262630;
    margin: 0 0 18px;
}

.sf-ex-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sf-ex-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sf-ex-step__num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #946FDE;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-ex-step__text {
    padding-top: 4px;
    font-size: 16px;
    line-height: 1.6;
    color: #373742;
}

.sf-ex-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.sf-ex-related__head .sf-ex-section-title {
    margin: 0;
}

.sf-ex-all-link {
    font-size: 14px;
    font-weight: 700;
    color: #946FDE;
}

/* Responsive */
@media (max-width: 991px) {
    .sf-ex-grid,
    .sf-ex-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sf-ex-single-card {
        grid-template-columns: 1fr;
    }
    .sf-ex-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .sf-ex-grid,
    .sf-ex-grid--4 {
        grid-template-columns: 1fr;
    }
    .sf-ex-h1 {
        font-size: 26px;
    }
    .sf-ex-filters-box,
    .sf-ex-single-card,
    .sf-ex-instructions {
        padding: 18px;
    }
    .sf-ex-search {
        min-width: 100%;
    }
}

/* === Ratings & Stars === */
.sf-ex-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.sf-ex-stars__bg,
.sf-ex-stars__fg {
    display: inline-flex;
    gap: 2px;
    white-space: nowrap;
}

.sf-ex-stars__bg svg {
    fill: #E1E1EE;
}

.sf-ex-stars__fg {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.sf-ex-stars__fg svg {
    fill: #F5A623;
    flex-shrink: 0;
}

.sf-ex-stars--sm svg { width: 15px; height: 15px; }
.sf-ex-stars--md svg { width: 18px; height: 18px; }
.sf-ex-stars--lg svg { width: 22px; height: 22px; }

.sf-ex-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.sf-ex-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: #262630;
}

.sf-ex-hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: #F8F8FE;
    border: 1px solid #EFEFF8;
    border-radius: 12px;
}

.sf-ex-hero-rating__num {
    font-size: 20px;
    font-weight: 700;
    color: #262630;
}

.sf-ex-hero-rating__max {
    font-size: 14px;
    color: #8B8B9E;
}

.sf-ex-hero-rating__link {
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    color: #946FDE;
}

.sf-ex-hero-rating__link:hover {
    text-decoration: underline;
}

/* === Reviews Section === */
.sf-ex-reviews {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
}

.sf-ex-reviews__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #F0F0F8;
}

.sf-ex-reviews__sub {
    margin: 0;
    font-size: 14px;
    color: #6E6E80;
}

.sf-ex-reviews__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #F8F8FE;
    border: 1px solid #ECECF6;
}

.sf-ex-reviews__big-score {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #262630;
}

.sf-ex-reviews__votes {
    font-size: 12px;
    color: #6E6E80;
    margin-top: 3px;
}

.sf-ex-criteria-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.sf-ex-crit-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: #F8F8FE;
    border: 1px solid #EFEFF8;
    font-size: 13px;
}

.sf-ex-crit-stat strong {
    color: #6A44B8;
}

/* Form */
.sf-ex-review-form {
    background: #F8F8FE;
    border: 1px solid #ECECF6;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
}

.sf-ex-form-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: start;
}

.sf-ex-field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #373742;
    margin-bottom: 6px;
}

.sf-ex-review-form input[type="text"],
.sf-ex-review-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #DFDFEE;
    border-radius: 10px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    color: #333;
}

.sf-ex-review-form input[type="text"]:focus,
.sf-ex-review-form textarea:focus {
    border-color: #946FDE;
}

.sf-ex-picker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sf-ex-picker-label {
    font-size: 14px;
    font-weight: 600;
    color: #373742;
}

.sf-ex-star-picker {
    display: inline-flex;
    gap: 3px;
}

.sf-ex-star-btn {
    border: none;
    background: none;
    padding: 0 2px;
    font-size: 24px;
    line-height: 1;
    color: #DCDCEB;
    cursor: pointer;
    transition: transform 0.12s, color 0.12s;
}

.sf-ex-star-btn:hover {
    transform: scale(1.12);
}

.sf-ex-star-btn.is-selected {
    color: #F5A623;
}

.sf-ex-live-avg {
    margin: 12px 0 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #F1EBFC;
    color: #5E3BA6;
    font-size: 14px;
    text-align: center;
}

.sf-ex-submit-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #946FDE;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.sf-ex-submit-btn:hover {
    background: #7C55CC;
}

.sf-ex-submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.sf-ex-form-msg {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.sf-ex-form-msg.is-success { color: #13856A; }
.sf-ex-form-msg.is-error   { color: #D93025; }

/* Review List */
.sf-ex-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sf-ex-no-reviews {
    margin: 0;
    color: #767687;
    font-size: 14px;
    text-align: center;
    padding: 16px 0;
}

.sf-ex-review-item {
    border: 1px solid #ECECF6;
    border-radius: 14px;
    padding: 18px 20px;
    background: #FFFFFF;
}

.sf-ex-review-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sf-ex-review-item__author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sf-ex-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1EBFC;
    color: #6A44B8;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-ex-review-item__author {
    font-weight: 700;
    font-size: 15px;
    color: #262630;
}

.sf-ex-review-item__date {
    font-size: 12px;
    color: #8B8B9E;
}

.sf-ex-review-item__score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #FFF8EB;
    border: 1px solid #FCE8BE;
}

.sf-ex-review-item__num {
    font-weight: 700;
    font-size: 14px;
    color: #262630;
}

.sf-ex-review-criteria {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.sf-ex-crit-pill {
    font-size: 12px;
    color: #5E5E70;
    background: #F4F4FC;
    padding: 3px 10px;
    border-radius: 6px;
}

.sf-ex-review-item__text {
    font-size: 15px;
    line-height: 1.55;
    color: #373742;
}

@media (max-width: 991px) {
    .sf-ex-form-grid,
    .sf-ex-criteria-summary {
        grid-template-columns: 1fr;
    }
}

/* === FAQ Section === */
.sf-ex-faq {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
}

.sf-ex-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-ex-faq-item {
    border: 1px solid #ECECF6;
    border-radius: 12px;
    background: #F8F8FE;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.sf-ex-faq-item[open] {
    background: #FFFFFF;
    border-color: #D2C2F5;
    box-shadow: 0 6px 18px rgba(148, 111, 222, 0.08);
}

.sf-ex-faq-item__q {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #262630;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.sf-ex-faq-item__q::-webkit-details-marker {
    display: none;
}

.sf-ex-faq-item__icon {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F1EBFC;
}

.sf-ex-faq-item__icon::before,
.sf-ex-faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: #7C55CC;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

.sf-ex-faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sf-ex-faq-item[open] .sf-ex-faq-item__icon {
    background: #946FDE;
}

.sf-ex-faq-item[open] .sf-ex-faq-item__icon::before {
    background: #FFFFFF;
}

.sf-ex-faq-item[open] .sf-ex-faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    background: #FFFFFF;
}

.sf-ex-faq-item__a {
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #464656;
}

/* === Coach Recommendation Card === */
.sf-ex-coach-tip {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F4FD 100%);
    border: 2px solid #946FDE;
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: 0 12px 28px rgba(148, 111, 222, 0.12);
}

.sf-ex-coach-tip__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #946FDE;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sf-ex-coach-tip__wrap {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.sf-ex-coach-tip__author {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 20px;
    border-right: 1px solid #E5DDF7;
}

.sf-ex-coach-tip__photo-link {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #D2C2F5;
    display: block;
    background: #FFFFFF;
}

.sf-ex-coach-tip__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-ex-coach-tip__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #262630;
    line-height: 1.3;
    margin-bottom: 4px;
}

.sf-ex-coach-tip__name:hover {
    color: #946FDE;
}

.sf-ex-coach-tip__role {
    font-size: 12px;
    color: #6E6E80;
    line-height: 1.35;
    margin-bottom: 6px;
}

.sf-ex-coach-tip__profile {
    font-size: 13px;
    font-weight: 700;
    color: #7C55CC;
}

.sf-ex-coach-tip__profile:hover {
    text-decoration: underline;
}

.sf-ex-coach-tip__body {
    flex: 1;
}

.sf-ex-coach-tip__text {
    font-size: 16px;
    line-height: 1.65;
    color: #2E2E3A;
}

/* === Weekly Program Tables === */
.sf-ex-program {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
}

.sf-ex-program-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sf-ex-program-card {
    border: 1px solid #ECECF6;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
}

.sf-ex-program-card__title {
    margin: 0;
    padding: 14px 20px;
    background: #F4F1FC;
    border-bottom: 1px solid #E8E1F9;
    font-size: 17px;
    font-weight: 700;
    color: #3D2670;
}

.sf-ex-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.sf-ex-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.sf-ex-table th {
    text-align: left;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7A7A8F;
    background: #FAFAFE;
    border-bottom: 1px solid #EFEFF8;
}

.sf-ex-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #F2F2FA;
    vertical-align: middle;
    color: #373742;
}

.sf-ex-table tbody tr:last-child td {
    border-bottom: none;
}

.sf-ex-table tbody tr:hover {
    background: #FAF9FE;
}

.sf-ex-col-day {
    width: 210px;
}

.sf-ex-col-reps,
.sf-ex-cell-reps {
    width: 180px;
    font-weight: 700;
    color: #262630;
    white-space: nowrap;
}

.sf-ex-day-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: #F1EBFC;
    color: #6A44B8;
    font-size: 13px;
    font-weight: 700;
}

.sf-ex-prog-link {
    color: #7C55CC;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(124, 85, 204, 0.35);
    text-underline-offset: 3px;
}

.sf-ex-prog-link:hover {
    color: #5E3BA6;
    text-decoration-color: #5E3BA6;
}

.sf-ex-prog-text {
    color: #373742;
    font-weight: 600;
}

@media (max-width: 767px) {
    .sf-ex-coach-tip {
        padding: 20px;
    }
    .sf-ex-coach-tip__wrap {
        flex-direction: column;
        gap: 16px;
    }
    .sf-ex-coach-tip__author {
        flex: none;
        width: 100%;
        padding-right: 0;
        padding-bottom: 14px;
        border-right: none;
        border-bottom: 1px solid #E5DDF7;
    }
    .sf-ex-program {
        padding: 18px;
    }
}

/* === Exercise Level & 6 Metrics === */
.sf-ex-level {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
}

.sf-ex-level__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.sf-ex-level-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.sf-ex-level-badge--easy   { background: #E6F7F1; color: #12805C; }
.sf-ex-level-badge--medium { background: #FFF5E5; color: #C2740A; }
.sf-ex-level-badge--hard   { background: #FDECEC; color: #C92A2A; }

.sf-ex-level__score-box {
    text-align: right;
    padding: 10px 18px;
    border-radius: 14px;
    background: #F8F8FE;
    border: 1px solid #ECECF6;
}

.sf-ex-level__score-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8B8B9E;
    margin-bottom: 2px;
}

.sf-ex-level__score-val strong {
    font-size: 26px;
    font-weight: 700;
    color: #7C55CC;
}

.sf-ex-level__score-val span {
    font-size: 14px;
    color: #8B8B9E;
    margin-left: 3px;
}

.sf-ex-level__summary {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #464656;
}

.sf-ex-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
}

.sf-ex-metric__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.sf-ex-metric__name {
    font-weight: 600;
    color: #373742;
}

.sf-ex-metric__val {
    color: #6A44B8;
    font-weight: 700;
}

.sf-ex-metric__track {
    height: 9px;
    border-radius: 999px;
    background: #EFEFF8;
    overflow: hidden;
}

.sf-ex-metric__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #946FDE 0%, #6F47C7 100%);
}

/* === Sets & Reps Recommendations === */
.sf-ex-sets-reps {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
}

.sf-ex-sr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sf-ex-sr-card {
    background: #F8F8FE;
    border: 1px solid #ECECF6;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.sf-ex-sr-card__level {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7C55CC;
    margin-bottom: 8px;
}

.sf-ex-sr-card__reps {
    font-size: 18px;
    font-weight: 700;
    color: #262630;
    margin-bottom: 10px;
}

.sf-ex-sr-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555568;
}

.sf-ex-sr-note {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #F4F1FC;
    color: #453173;
    font-size: 14px;
    line-height: 1.6;
}

/* === Common Mistakes & Tips === */
.sf-ex-mt {
    margin-bottom: 32px;
}

.sf-ex-mt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sf-ex-mt-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #ECECF6;
}

.sf-ex-mt-card--mistakes {
    border-top: 4px solid #E55353;
}

.sf-ex-mt-card--tips {
    border-top: 4px solid #18AA88;
}

.sf-ex-mt-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #262630;
    margin: 0 0 18px;
}

.sf-ex-mt-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.sf-ex-mt-icon--err { background: #FDECEC; color: #D63939; }
.sf-ex-mt-icon--ok  { background: #E6F7F1; color: #13856A; }

.sf-ex-mt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-ex-mt-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sf-ex-mt-num {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.sf-ex-mt-num--err { background: #FDECEC; color: #C92A2A; }
.sf-ex-mt-num--ok  { background: #E6F7F1; color: #12805C; }

.sf-ex-mt-text {
    font-size: 15px;
    line-height: 1.55;
    color: #373742;
}

@media (max-width: 991px) {
    .sf-ex-sr-grid,
    .sf-ex-mt-grid,
    .sf-ex-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* === Global box-sizing & Mobile Overflow Fixes === */
.sf-ex-page,
.sf-ex-page *,
.sf-ex-page *::before,
.sf-ex-page *::after {
    box-sizing: border-box;
}

.sf-ex-form-grid,
.sf-ex-form-col,
.sf-ex-pickers-col,
.sf-ex-reviews,
.sf-ex-review-form {
    min-width: 0;
    max-width: 100%;
}

.sf-ex-review-form input[type="text"],
.sf-ex-review-form textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.sf-ex-submit-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 10px !important;
    background: #946FDE !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sf-ex-submit-btn:hover {
    background: #7C55CC !important;
}

@media (max-width: 767px) {
    .sf-ex-reviews,
    .sf-ex-level,
    .sf-ex-sets-reps,
    .sf-ex-faq,
    .sf-ex-program,
    .sf-ex-instructions,
    .sf-ex-single-card,
    .sf-ex-mt-card {
        padding: 18px 16px;
    }

    .sf-ex-review-form {
        padding: 16px 14px;
    }

    .sf-ex-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .sf-ex-picker-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .sf-ex-picker-label {
        font-size: 13px;
    }

    .sf-ex-star-btn {
        font-size: 21px;
        padding: 0 1px;
    }

    .sf-ex-review-item {
        padding: 14px;
    }

    .sf-ex-review-item__head {
        flex-wrap: wrap;
    }

    .sf-ex-hero-rating__link {
        margin-left: 0;
        width: 100%;
    }

    .sf-ex-table th,
    .sf-ex-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .sf-ex-col-day,
    .sf-ex-col-reps,
    .sf-ex-cell-reps {
        width: auto;
        white-space: normal;
    }
}

/* === Mobile Expandable Filter Chips ("Ещё") === */
.sf-ex-more-btn {
    display: none;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px dashed #946FDE;
    background: #FFFFFF;
    color: #7C55CC;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.sf-ex-more-btn:hover {
    background: #F1EBFC;
}

@media (max-width: 767px) {
    .sf-ex-filter-group:not(.is-expanded) .sf-ex-chip--extra {
        display: none;
    }
    .sf-ex-more-btn {
        display: inline-flex;
    }
}

/* === Metric SVG Icons === */
.sf-ex-metric__name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.sf-ex-metric__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #F1EBFC;
    color: #7C55CC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-ex-metric__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* === Sets & Reps Level SVG Icons === */
.sf-ex-sr-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sf-ex-sr-card__head .sf-ex-sr-card__level {
    margin-bottom: 0;
}

.sf-ex-sr-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-ex-sr-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sf-ex-sr-icon--beg { background: #E6F7F1; color: #12805C; }
.sf-ex-sr-icon--mid { background: #FFF5E5; color: #C2740A; }
.sf-ex-sr-icon--pro { background: #F1EBFC; color: #7C55CC; }

/* === Taxonomy Hub Pages (/gruppy-myshc/, /celevye-myshcy/, /oborudovanie/) === */
.sf-ex-tax-hub__hero {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
}

.sf-ex-hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F8;
}

.sf-ex-hub-tab {
    padding: 7px 15px;
    border-radius: 999px;
    background: #F4F4FC;
    color: #373742;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.16s;
}

.sf-ex-hub-tab:hover {
    background: #ECE6FA;
    color: #5E3BA6;
}

.sf-ex-hub-tab.is-active {
    background: #946FDE;
    color: #FFFFFF;
}

.sf-ex-tax-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sf-ex-hub-card {
    background: #FFFFFF;
    border: 1px solid #ECECF6;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.sf-ex-hub-card:hover {
    transform: translateY(-2px);
    border-color: #D2C2F5;
    box-shadow: 0 12px 26px rgba(148, 111, 222, 0.1);
}

.sf-ex-hub-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.sf-ex-hub-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #262630;
    margin: 0;
    line-height: 1.3;
}

.sf-ex-hub-card__cnt {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: #F1EBFC;
    color: #6A44B8;
    font-size: 13px;
    font-weight: 700;
}

.sf-ex-hub-card__thumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.sf-ex-hub-card__thumbs img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #EFEFF8;
    padding: 4px;
    background: #FFFFFF;
}

.sf-ex-hub-card__foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #F2F2FA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #7C55CC;
}

@media (max-width: 991px) {
    .sf-ex-tax-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sf-ex-tax-hub__hero {
        padding: 18px 16px;
    }
    .sf-ex-tax-hub__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
