/* =========================================================
   THULTHUL — WORKOUT DETAIL
   Readable / User Friendly / Premium
========================================================= */

.tt-workout-page {
    background: #111113;
    color: #f5f5f7;
}


/* =========================================================
   CONTAINER
========================================================= */

.tt-workout-page .tt-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.tt-workout-hero {
    padding: 90px 0 80px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(91, 75, 255, .13),
            transparent 35%
        ),
        #111113;

    border-bottom: 1px solid rgba(255,255,255,.08);
}


.tt-workout-hero-content {
    max-width: 850px;
}


.tt-workout-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;

    color: #9b91ff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}


.tt-workout-hero h1 {
    max-width: 900px;

    margin: 0 0 24px;

    color: #ffffff;

    font-size: clamp(44px, 6vw, 76px);
    line-height: 1;

    letter-spacing: -2.8px;
    font-weight: 800;
}


.tt-workout-intro {
    max-width: 700px;

    margin: 0 0 38px;

    color: #c4c4cc;

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   QUICK INFO
========================================================= */

.tt-workout-quick-info {
    display: flex;
    flex-wrap: wrap;

    margin-bottom: 38px;

    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
}


.tt-workout-quick-info > div {
    min-width: 180px;

    padding: 20px 30px 20px 0;
    margin-right: 30px;

    border-right: 1px solid rgba(255,255,255,.10);
}


.tt-workout-quick-info > div:last-child {
    border-right: 0;
}


.tt-workout-quick-info span {
    display: block;

    margin-bottom: 7px;

    color: #85858f;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.tt-workout-quick-info strong {
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   BUTTON
========================================================= */

.tt-workout-page .tt-btn-primary {
    min-height: 52px;

    padding: 0 24px;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.tt-section-title {
    margin-bottom: 42px;
}


.tt-section-title > span {
    display: block;

    margin-bottom: 10px;

    color: #9b91ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}


.tt-section-title h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;

    letter-spacing: -1.5px;
}


.tt-section-title p {
    max-width: 650px;

    margin: 15px 0 0;

    color: #a8a8b2;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   PROGRAM SNAPSHOT
========================================================= */

.tt-program-snapshot {
    padding: 90px 0;
}


.tt-snapshot-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border: 1px solid rgba(255,255,255,.09);

    background: #18181b;
}


.tt-snapshot-card {
    min-height: 170px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px;

    border-right: 1px solid rgba(255,255,255,.08);
}


.tt-snapshot-card:last-child {
    border-right: 0;
}


.tt-snapshot-card strong {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 36px;
    line-height: 1;

    letter-spacing: -1.5px;
}


.tt-snapshot-card span {
    color: #a3a3ad;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .8px;
}


/* =========================================================
   YOUR WEEK
========================================================= */

.tt-your-week {
    padding: 90px 0;

    background: #151518;

    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}


.tt-week-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}


.tt-week-item {
    min-height: 100px;

    display: grid;

    grid-template-columns: 55px 1fr 30px;

    align-items: center;

    padding: 20px 24px;

    border: 1px solid rgba(255,255,255,.09);

    background: #1b1b1f;

    color: inherit;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.tt-week-item:hover {
    transform: translateY(-2px);

    border-color: rgba(91,75,255,.45);

    background: #202025;
}


.tt-week-number {
    color: #8d82ff;

    font-size: 18px;
    font-weight: 800;
}


.tt-week-content strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 17px;
}


.tt-week-content span {
    display: block;

    color: #a5a5ae;

    font-size: 13px;
    line-height: 1.4;
}


.tt-week-arrow {
    color: #8d82ff;

    font-size: 20px;

    text-align: right;
}


/* =========================================================
   TODAY'S WORKOUT
========================================================= */

.tt-todays-workout {
    padding: 100px 0;
}


.tt-day-session {
    margin-bottom: 32px;

    border: 1px solid rgba(255,255,255,.10);

    background: #18181b;

    overflow: hidden;
}


.tt-day-session-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(91,75,255,.10),
            transparent
        );

    border-bottom: 1px solid rgba(255,255,255,.08);
}


.tt-day-session-header > div span {
    display: block;

    margin-bottom: 7px;

    color: #9388ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.tt-day-session-header h3 {
    margin: 0;

    color: #ffffff;

    font-size: 30px;
    line-height: 1.1;

    letter-spacing: -.7px;
}


.tt-day-session-badge {
    padding: 9px 13px;

    border: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.04);

    color: #bcbcc5;

    font-size: 11px;
}


.tt-day-session-description {
    margin: 0;

    padding: 20px 30px;

    color: #a8a8b2;

    font-size: 14px;
    line-height: 1.6;

    border-bottom: 1px solid rgba(255,255,255,.07);
}


/* =========================================================
   BLOCK
========================================================= */

.tt-session-block {
    padding: 26px 30px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}


.tt-session-block:last-child {
    border-bottom: 0;
}


.tt-session-block-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.tt-session-block-type {
    display: inline-block;

    margin-bottom: 7px;

    color: #9388ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.tt-session-block-heading h4 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
}


.tt-session-rest {
    color: #aaaab4;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   EXERCISE CARDS
========================================================= */

.tt-exercise-cards {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.tt-exercise-card {
    display: grid;

    grid-template-columns: 150px 1fr;

    min-height: 180px;

    border: 1px solid rgba(255,255,255,.08);

    background: #202024;

    overflow: hidden;

    transition:
        border-color .2s ease,
        transform .2s ease;
}


.tt-exercise-card:hover {
    border-color: rgba(255,255,255,.15);

    transform: translateY(-1px);
}


/* =========================================================
   EXERCISE IMAGE
========================================================= */

.tt-exercise-image {
    min-height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(91,75,255,.20),
            transparent 65%
        ),
        #111113;

    border-right: 1px solid rgba(255,255,255,.08);
}


.tt-exercise-image span {
    color: #686872;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   EXERCISE CONTENT
========================================================= */

.tt-exercise-content {
    padding: 24px 26px;
}


.tt-exercise-heading {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}


.tt-exercise-number {
    flex-shrink: 0;

    color: #8d82ff;

    font-size: 13px;
    font-weight: 700;
}


.tt-exercise-heading h5 {
    margin: 0;

    color: #ffffff;

    font-size: 22px;
    line-height: 1.15;

    letter-spacing: -.3px;
}


.tt-exercise-muscle {
    display: block;

    margin-top: 6px;

    color: #a8a8b2;

    font-size: 13px;
}


/* =========================================================
   SET SUMMARY
========================================================= */

.tt-set-summary {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}


.tt-set-item {
    min-width: 90px;

    padding: 9px 12px;

    border: 1px solid rgba(255,255,255,.08);

    background: #18181b;
}


.tt-set-item span {
    display: block;

    margin-bottom: 4px;

    color: #777782;

    font-size: 10px;
}


.tt-set-item strong {
    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   REST
========================================================= */

.tt-exercise-rest {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 15px;
}


.tt-exercise-rest span {
    color: #777782;

    font-size: 12px;
}


.tt-exercise-rest strong {
    color: #d2d2d9;

    font-size: 13px;
}


/* =========================================================
   NOTES
========================================================= */

.tt-exercise-note {
    margin: 16px 0 0;

    padding: 12px 14px;

    border-left: 2px solid #5b4bff;

    background: rgba(91,75,255,.07);

    color: #bdbdc6;

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   EXERCISE GUIDE
========================================================= */

.tt-exercise-guide {
    display: inline-flex;

    margin-top: 18px;

    color: #9b91ff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


.tt-exercise-guide:hover {
    color: #ffffff;
}


/* =========================================================
   EMPTY
========================================================= */

.tt-empty-message {
    padding: 45px 25px;

    color: #9999a3;

    font-size: 14px;

    text-align: center;

    border: 1px dashed rgba(255,255,255,.12);

    background: rgba(255,255,255,.015);
}


/* =========================================================
   FINAL CTA
========================================================= */

.tt-workout-final {
    padding: 80px 0 110px;
}


.tt-workout-final-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 55px;

    border: 1px solid rgba(91,75,255,.28);

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(91,75,255,.15),
            transparent 45%
        ),
        #18181b;
}


.tt-workout-final-inner > div > span {
    color: #9b91ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.tt-workout-final-inner h2 {
    margin: 10px 0 0;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 48px);

    letter-spacing: -1.5px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .tt-workout-page .tt-container {
        width: min(100% - 28px, 600px);
    }


    .tt-workout-hero {
        padding: 65px 0;
    }


    .tt-workout-hero h1 {
        font-size: 46px;
    }


    .tt-workout-intro {
        font-size: 16px;
    }


    .tt-workout-quick-info {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }


    .tt-workout-quick-info > div {
        min-width: 0;

        margin: 0;

        padding: 16px 15px 16px 0;
    }


    .tt-snapshot-grid {
        grid-template-columns: 1fr 1fr;
    }


    .tt-snapshot-card {
        min-height: 135px;

        padding: 22px;
    }


    .tt-week-list {
        grid-template-columns: 1fr;
    }


    .tt-day-session-header {
        padding: 24px;
    }


    .tt-session-block {
        padding: 22px 18px;
    }


    .tt-session-block-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }


    .tt-exercise-card {
        grid-template-columns: 1fr;
    }


    .tt-exercise-image {
        min-height: 190px;

        border-right: 0;

        border-bottom: 1px solid rgba(255,255,255,.08);
    }


    .tt-exercise-content {
        padding: 22px;
    }


    .tt-exercise-heading h5 {
        font-size: 20px;
    }


    .tt-workout-final-inner {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px 25px;
    }

}


@media (max-width: 480px) {

    .tt-workout-hero h1 {
        font-size: 40px;

        letter-spacing: -1.8px;
    }


    .tt-workout-quick-info {
        grid-template-columns: 1fr;
    }


    .tt-workout-quick-info > div {
        border-right: 0;

        border-bottom: 1px solid rgba(255,255,255,.08);
    }


    .tt-workout-quick-info > div:last-child {
        border-bottom: 0;
    }


    .tt-snapshot-grid {
        grid-template-columns: 1fr;
    }


    .tt-day-session-header h3 {
        font-size: 25px;
    }


    .tt-day-session-badge {
        display: none;
    }


    .tt-set-summary {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }


    .tt-set-item {
        min-width: 0;
    }

}

/* =========================================================
   PROGRAM DAY PROGRESS
========================================================= */

.tt-week-item {
    position: relative;
}


.tt-week-status {
    flex-shrink: 0;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;

    white-space: nowrap;
}


/* COMPLETED */

.tt-day-completed .tt-week-status {
    color: #6ed99a;
}


.tt-day-completed .tt-week-number {
    border-color: rgba(110,217,154,.25);

    background: rgba(110,217,154,.08);

    color: #6ed99a;
}


/* NEXT */

.tt-day-next .tt-week-status {
    color: #8f82ff;
}


.tt-day-next .tt-week-number {
    border-color: rgba(79,70,255,.35);

    background: rgba(79,70,255,.10);

    color: #9a91ff;
}


/* UPCOMING */

.tt-day-upcoming .tt-week-status {
    color: #66666f;
}


/* =========================================================
   DAY SESSION STATUS
========================================================= */

.tt-day-header-right {

    display: flex;

    align-items: center;

    gap: 16px;
}


.tt-day-status {

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.tt-day-status.completed {
    color: #6ed99a;
}


.tt-day-status.next {
    color: #9184ff;
}


.tt-day-status.upcoming {
    color: #66666f;
}


/* COMPLETED SESSION */

.tt-day-session-completed {

    opacity: .72;
}


/* NEXT SESSION */

.tt-day-session-next {

    border-color:
        rgba(79,70,255,.22);

    box-shadow:
        0 0 0 1px rgba(79,70,255,.04);
}


/* MOBILE */

@media (max-width: 700px) {

    .tt-week-status {
        display: none;
    }


    .tt-day-header-right {

        gap: 8px;

        flex-direction: column;

        align-items: flex-end;
    }


    .tt-day-status {

        font-size: 8px;
    }

}

/* =========================================================
   FIX — WEEK CARD LAYOUT
========================================================= */

.tt-week-item {
    display: grid !important;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto
        24px;

    align-items: center;

    column-gap: 16px;

    width: 100%;

    box-sizing: border-box;

    overflow: hidden;
}


/* DAY NUMBER */

.tt-week-number {
    flex-shrink: 0;
}


/* CONTENT */

.tt-week-content {
    min-width: 0;

    overflow: hidden;
}


.tt-week-content strong {
    display: block;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.tt-week-content span {
    display: block;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* STATUS */

.tt-week-status {
    min-width: 0 !important;

    width: auto !important;

    text-align: right;

    white-space: nowrap;

    justify-self: end;
}


/* ARROW */

.tt-week-arrow {
    width: 24px;

    text-align: center;

    justify-self: end;

    flex-shrink: 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .tt-week-item {

        grid-template-columns:
            38px
            minmax(0, 1fr)
            24px;

        column-gap: 12px;
    }

    .tt-week-status {
        display: none;
    }

}
.tt-day-next {
    border-color: rgba(79, 70, 255, .35) !important;
}

.tt-day-upcoming {
    border-color: rgba(255,255,255,.08) !important;
}

.tt-day-completed {
    border-color: rgba(110,217,154,.18) !important;
}

