.lw-steps-indicator{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:16px 0 20px}
.lw-steps-indicator::before{content:"";position:absolute;left:0;right:0;top:14px;height:2px;background:#e6e8ec;z-index:0}
.lw-steps-indicator::after{content:"";position:absolute;left:0;top:14px;height:2px;background:#E76E3C;width:0;z-index:0;transition:width .25s ease}
[data-current-step="1"] .lw-steps-indicator::after{width:0%}
[data-current-step="2"] .lw-steps-indicator::after{width:50%}
[data-current-step="3"] .lw-steps-indicator::after{width:100%}
.lw-step{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1 1 0}
.lw-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;z-index:1}
.lw-step-dot{position:relative;z-index:1;width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #e6e8ec;box-shadow:0 0 0 2px #fff;transition:transform .2s ease,background .2s ease,border-color .2s ease;margin-top:5px}
.lw-step-dot.is-active{transform:scale(1.1);background:#E76E3C}
.lw-step-label{font-size:12px;color:#374151;white-space:nowrap;line-height:1.2;text-align:center;transform:translateY(2px)}

.lw-order-summary{border:1px solid #e6e8ec;border-radius:8px;padding:16px;margin-bottom:16px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.04)}
.lw-order-summary__title{font-weight:800;color:#232a36;margin-bottom:10px;font-size:18px;letter-spacing:.2px}
.lw-summary{color:#374151;font-size:14px;white-space:pre-line;line-height:1.6}

.lw-order-summary{border:1px solid #e6e8ec;border-radius:8px;padding:16px;margin-bottom:16px;background:#fafbfc}
.lw-order-summary__title{font-weight:700;color:#232a36;margin-bottom:10px;font-size:16px}
.lw-summary{color:#444;font-size:14px;white-space:pre-line;line-height:1.5}
.lw-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

.lw-modal.show {
    display: block;
}

/* Force absolute centering independent of flex support or theme overrides */
.lw-modal-dialog {
    background: #fff;
    max-width: 720px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    overflow: auto;
}

.lw-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f44336;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    line-height: 1;
    transition: all 0.2s ease;
}

.lw-modal-close:hover {
    background: #d32f2f;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.lw-modal-body {
    padding: 0;
}

/* =========================
   Live Workshops – Frontend
   ========================= */

/* --- Hero wrapper --- */
.lw-hero {
    padding: 18px;
}

.lw-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
    align-items: center;
}

@media (max-width:900px) {
    .lw-hero__grid {
        display: flex;
        flex-direction: column;
    }

    .lw-hero__left,
    .lw-hero__right {
        width: 100%;
    }

    .lw-hero__right {
        padding: 1rem;
    }

    .lw-hero__title {
        font-size: 1.5rem;
    }

    .lw-priceband__price {
        font-size: 1.25rem;
    }

    .lw-pricerow {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 15px 20px;
        min-height: auto;
    }

    .lw-pricerow__left,
    .lw-pricerow__right {
        width: 100%;
        text-align: center;
        flex: none;
        justify-content: center;
    }

    .lw-pricerow__right {
        gap: 10px;
        flex-wrap: wrap;
    }

    .lw-hero__btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* --- Hero media --- */
.lw-hero__left {
    overflow: hidden;
    border-radius: 20px;
}

.lw-hero__video {
    border: 2px solid #2A3242;
    border-radius: 20px;
    overflow: hidden;
}

.lw-hero__img {
    width: 100%;
    height: auto;
    border-radius: 20px !important;
    display: block;
}

.lw-hero__img--placeholder {
    background: #eee;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
}

/* Right column: vertically center all content */
.lw-hero__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    height: 100%;
}

/* --- Title --- */
.lw-hero__title {
    font-size: 24px;
    line-height: 1.1;
}

/* =========================
 Price Card (v2)
 ========================= */
.lw-hero__pricecard.v2 {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

/* Top band */
.lw-priceband {
    background: #232a36;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 14px 24px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.lw-priceband__col {
    display: flex;
    flex-direction: column;
}

.lw-priceband__col--right {
    text-align: left;
}

.lw-priceband__price {
    font-weight: 900;
    font-size: 24px;
    line-height: 1.1;
}

.lw-priceband__price--old {
    text-decoration: line-through;
    opacity: .7;
    font-weight: 700;
}


.lw-priceband__note {
    font-size: 14px;
    opacity: .9;
}

/* Bottom row */
.lw-pricerow {
    display: flex;
    gap: 15px;
    padding: 15px 30px;
    align-items: center;
    background: #ECFDF5;
    min-height: 60px;
    justify-content: space-between;
}

.lw-pricerow__left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 40%;
}

.lw-pricerow__right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 15px;
}

.lw-pricerow__blurb {
    margin: 0;
    color: #111827;
    font-size: 12px;
    line-height: 1.1;
}

/* Legal links in price row */
.lw-pricerow__legal {
    margin-top: 8px;
    text-align: right;
    font-size: 11px;
    color: #6b7280;
}

/* Legal links in separate row */
.lw-legal-row {
    padding: 4px 15px;
    background: #ECFDF5;
}

.lw-legal-links {
    text-align: right;
    font-size: 11px;
    color: #6b7280;
}

.lw-legal-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lw-legal-link:hover {
    color: #374151;
    text-decoration: underline;
}

.lw-legal-separator {
    margin: 0 6px;
    color: #9ca3af;
}

/* CTA button */
.lw-hero__btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 5px;
    background: #E76E3C;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    width: 100%;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, filter .2s ease;
}

.lw-hero__btn:hover,
.lw-hero__btn:active,
.lw-hero__btn.active,
.lw-hero__btn.is-active,
.lw-hero__btn[aria-pressed="true"],
.lw-hero__btn:focus,
.lw-hero__btn:focus-visible {
    background: #000;
    color: #fff;
    filter: none;
}

.lw-hero__btn:focus-visible {
    outline: 2px solid #0ea5a3;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(14, 165, 163, .25);
}

/* Responsive tweaks for price card */
@media (max-width:900px) {
    .lw-priceband {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .lw-priceband__col--right {
        align-items: flex-start;
        text-align: left;
    }

    .lw-pricerow {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
        min-height: auto;
    }

    .lw-pricerow__left {
        order: 1;
        width: 100%;
        text-align: center;
        flex: none;
        justify-content: center;
    }

    .lw-pricerow__right {
        order: 2;
        width: 100%;
        text-align: center;
        flex: none;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .lw-hero__btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
    }
}

/* Responsive close button for mobile */
@media (max-width: 768px) {
    .lw-modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
}

/* Responsive tweaks for tabs */
@media (max-width:768px) {
    .lw-session-tabs {
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .lw-tab-btn {
        padding: 10px 12px;
        min-height: 44px;
        font-size: 13px;
    }

    .lw-tab-icon {
        width: 20px;
        height: 20px;
    }
}

/* Responsive tweaks for date/time selection */
@media (max-width:768px) {
    .lw-slots {
        flex-direction: column;
        gap: 20px;
    }

    .lw-date-display {
        justify-content: center;
    }

    .lw-selection-right {
        align-items: left;
    }
}

@media (max-width:480px) {
    .lw-priceband__price {
        font-size: 20px;
    }

    .lw-priceband__note {
        font-size: 13px;
    }
}

/* =========================
 Description (read more)
 ========================= */
.lw-hero__desc {
    margin-top: 24px;
}

.lw-hero__more {
    margin-top: 6px;
    background: transparent;
    border: none;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline,
}


/* Sessions list */
/* Wrapper Layout */
.lw-sessions-wrap {
    display: flex;
    gap: 10px;
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;

}

/* LEFT PANEL */
.lw-sessions-left-wrapper {
    flex: 0 0 35%;
    max-width: 100%;
    box-sizing: border-box;
}

.lw-sessions-left-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 58px 0;
    color: #000;
    padding: 0 5px;
}

.lw-sessions-left {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #D9D9D9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lw-sessions-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lw-session-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #D9D9D9;
    min-height: 70px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.lw-session-item:hover {
    background: #f8f9fa;
}

/* Current session (next upcoming) */
.lw-session-item.current {
    color: #2A3242;
    border: 1px solid #D9D9D9;
}

.lw-session-item.current .lw-session-title {
    color: #2A3242;
    font-weight: bold;
}

/* Upcoming sessions (remaining items) */
.lw-session-item.upcoming {
    background: #fff;
    color: #2A3242;
    border: 1px solid #D9D9D9;
}

.lw-session-item.upcoming .lw-session-title {
    color: #2A3242;
}

/* Active/Selected session state */
.lw-session-item.active {
    background: #ddf2ff !important;
    border-color: #ddf2ff;
    color: #2A3242;
}

.lw-session-item.active .lw-session-title {
    color: #2A3242;
    font-weight: bold;
}

.lw-session-item.active .lw-session-index {
    background: #fff !important;
    color: #2A3242 !important;
    border-color: #ddf2ff;
}

.lw-session-index {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}



/* Current session index */
.lw-session-item.current .lw-session-index {
    background: #fff;
    color: #2A3242;
    border: 1px solid #D9D9D9;
}

/* Upcoming session index */
.lw-session-item.upcoming .lw-session-index {
    background: #fff;
    color: #2A3242;
    border: 1px solid #D9D9D9;
}

.lw-session-title {
    flex: 1;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

/* Session Header */
.lw-session-header {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.lw-session-header h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #2A3242;
}

.lw-course-link {
    margin: 8px 0;
    font-size: 14px;
}

.lw-course-link a {
    color: #007cba;
    text-decoration: none;
}

.lw-course-link a:hover {
    text-decoration: underline;
}

.lw-capacity {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.lw-session-time {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.lw-join-link {
    margin: 8px 0;
    font-size: 14px;
}

.lw-join-link a {
    margin-left: 8px;
}



/* Hidden by default; shown only on mobile */
.lw-mobile-date {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {

    /* Upcoming session index */
    .lw-session-item.upcoming .lw-session-index {
        background: #FBBF59 !important;

    }


    .lw-sessions-wrap {
        flex-direction: column;
        padding: 20px 15px;
    }

    .lw-sessions-left-wrapper {
        flex: none;
        width: 100%;
    }

    .lw-sessions-right {
        flex: none;
        width: 100%;
    }




    .lw-session-item {
        padding: 14px 16px;
        min-height: 60px;
    }

    .lw-session-title {
        font-size: 14px;
    }

    .lw-session-header {
        padding: 20px;
    }

    /* Hide yellow month/day box on mobile */
    .lw-date-main-btn {
        display: none !important;
    }

    /* Mobile inline date text under week navigation */
    .lw-mobile-date {
        display: block;
        font-size: 14px;
        color: #2A3242;
        margin: -4px 0 8px 0;
        padding-left: 2px;
    }
}


.lw-sessions-right {
    flex: 0 0 65%;
}


/* Tabs */
.lw-session-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    margin-top:20px;
    padding: 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Custom scrollbar for webkit browsers */
.lw-session-tabs::-webkit-scrollbar {
    height: 6px;
}

.lw-session-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.lw-session-tabs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.lw-session-tabs::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Ensure tabs don't shrink when scrolling */
.lw-session-tabs .lw-tab-btn {
    flex-shrink: 0;
    min-width: fit-content;
}

/* Container isolation to prevent width issues */
.lw-session-detail {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.lw-tab-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 18px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    transition: all 0.3s ease;
    min-height: 48px;
}

.lw-tab-btn:hover {
    background: #8FD8B5 !important;
    border-color: #8FD8B5;
    color: #2A3242;
}

.lw-tab-btn.active {
    background: #8FD8B5 !important;
    border-color: #8FD8B5;
    color: #2A3242;
}

.lw-tab-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Date & Time Slots and CTA - Shared Background */
.lw-slots {
    background: #DDF2FF;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #D9D9D9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
}

.lw-slots-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
}

/* Dynamic Month/Day Button */
.lw-date-display {
    display: flex;
    flex-shrink: 0;
}

.lw-date-main-btn {
    background: #FBBF59;
    border: none;
    border-radius: 6px;
    padding: 16px 24px;
    text-align: center;
    cursor: pointer;
    min-width: 100px;
    border: 1px solid #2C3338;
    transition: all 0.3s ease;
}

.lw-date-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lw-month {
    font-size: 20px;
    color: #2A3242;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.lw-day {
    font-size: 40px;
    color: #2A3242;
    font-weight: 700;
}

/* Right side container for weekday and time slots */
.lw-selection-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

/* Day of Week Selection */
.lw-weekday-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lw-weekday-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #2A3242;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.lw-weekday-btn:hover {
    background: #55D6AB;
    border-color: #ddd;
}

.lw-weekday-btn.active {
    background: #55D6AB;
    color: #2A3242;
    border-color: #ddd;
}

.lw-time-pills {
    display: flex;
    gap: 8px;
}


.lw-time-btn:hover {
    background: #55D6AB;
}

/* CTA Buttons */
.lw-session-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0;
}

.lw-btn {
    padding: 8px 14px;
    border-radius: 6px !important;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.lw-btn-primary {
    background: #3498db;
    color: #2A3242;
}

.lw-btn-secondary {
    background: #95a5a6;
    color: #2A3242;
}

.lw-btn-success {
    background: #2ecc71;
    color: #2A3242;
}

.lw-btn-danger {
    background: #e74c3c;
    color: #2A3242;
}

.lw-btn-chat {
    background: #D9D9D9;
    color: #2A3242;
}

/* Chat Support Button and Dropdown */
.lw-chat-wrap {
    position: relative;
    display: inline-block;
}

.lw-btn-chat-support {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #D9D9D9 !important;
    color: #2A3242 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    min-height: 44px !important;
    width: auto !important;
    text-align: left !important;
}

.lw-btn-chat-support:hover,
.lw-btn-chat-support:focus {
    background: #2A3242 !important;
    color: #fff !important;
}

.lw-btn-chat-support:hover .lw-chat-line1,
.lw-btn-chat-support:focus .lw-chat-line1 {
    color: #fff !important;
}

.lw-btn-chat-support:hover .lw-chat-line2,
.lw-btn-chat-support:focus .lw-chat-line2 {
    color: #fff !important;
}

.lw-btn-chat-support .lw-chat-icon {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
    float: none !important;
}

.lw-btn-chat-support .lw-chat-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    text-align: center !important;
    flex: 0 0 auto !important;
}

.lw-btn-chat-support .lw-chat-line1 {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2A3242 !important;
    display: block !important;
    line-height: 1.2 !important;
}

.lw-btn-chat-support .lw-chat-line2 {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #2A3242 !important;
    margin-top: 1px !important;
    display: block !important;
    line-height: 1.2 !important;
}

.lw-chat-menu {
    position: absolute;
    top: calc(100% - 150px);
    right: 0;
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    padding: 6px;
    z-index: 50;
}

.lw-chat-link,
.lw-chat-empty {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #2A3242;
    text-decoration: none;
    font-size: 14px;
}

.lw-chat-link:hover {
    background: #F5F5F5;
}

/* Tab Content */
.lw-tab-content {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #d9d9d9;
    margin-top: 10px;
}

.lw-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Session Detail - Only show active one */
.lw-session-detail {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: relative;
}

.lw-session-detail.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Accordion Styles */
@media (max-width: 768px) {

    /* Sticky horizontal swiper for sessions */
    .lw-sessions-left-wrapper {
        top: 0;
        z-index: 20;
        margin-bottom: 6px;
    }

    .lw-sessions-left {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        display: block;
        padding: 8px 10px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .lw-sessions-left-wrapper h3 {
        margin: 0 0 10px 0;
        font-size: 18px;
    }

    .lw-sessions-left ul {
        display: inline-flex;
        gap: 10px;
        width: max-content;
        padding-right: 20px;
        /* Add right padding for better scrolling */
    }

    /* Auto-scroll to active session on mobile */
    .lw-session-item.active {
        scroll-margin-left: 20px;
        scroll-margin-right: 20px;
    }

    /* Ensure smooth scrolling to active session */
    .lw-sessions-left {
        scroll-behavior: smooth;
    }

    /* Better scroll positioning for clicked session items */
    .lw-session-item {
        scroll-margin-left: 20px;
        scroll-margin-right: 20px;
        scroll-snap-align: center;
    }

    /* Ensure clicked items are fully visible */
    .lw-sessions-left {
        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
    }

    /* Prevent screen shifting on mobile */
    .lw-sessions-wrap {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    /* Ensure session items don't cause body shift */
    .lw-sessions-left {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .lw-sessions-left::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari/Opera */
    }

    /* Prevent any element from shifting the body */
    .lw-session-item {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    /* Force body to stay in place */
    html,
    body {
        overflow-x: hidden !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Make hero chat button full width on mobile */
    .hero-chat-container {
        display: block;
        width: 100%;
    }

    .hero-chat-button {
        width: 100% !important;
        justify-content: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .lw-pricerow .hero-chat-container {
        width: 100%;
    }

    .hero-chat-text {
        white-space: nowrap;
    }

    /* Current session index */
    .lw-session-item.current .lw-session-index {
        background: #FBBF59 !important;
    }

    .lw-session-item {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        width: 240px;
        min-height: 200px;
        max-width: 80vw;
        scroll-snap-align: start;
        white-space: normal;
        padding: 14px;
        padding-top: 46px;
        padding-bottom: 14px;
    }

    /* Top-left label: "Session N" */
    .lw-session-item .lw-session-index {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #FBBF59 !important;
        color: #2A3242;
        border-radius: 6px;
        padding: 4px 8px;
        width: auto;
        height: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        border: none;
    }

    .lw-session-item .lw-session-index::before {
        content: 'Session ';
        margin-right: 2px;
    }

    /* Completed sessions: remove "Session" text and make icon smaller */
    .lw-session-item.completed .lw-session-index::before {
        content: '';
        margin-right: 0;
    }

    .lw-session-item.completed .lw-session-index {
        background: #ffffff00 !important;
        padding: 2px 4px;
        width: 32px;
        height: 32px;
    }

    .lw-session-item.completed .lw-session-index img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    /* Hide CTA buttons for completed sessions */
    .lw-session-item.completed~.lw-accordion-detail .lw-session-cta,
    .lw-session-detail[data-session-id].completed .lw-session-cta {
        display: none !important;
    }

    /* Title placement inside square */
    .lw-session-item .lw-session-title {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 8px;
        flex: 1;
    }

    /* Optimize session info layout for mobile */
    .lw-session-item .lw-session-info {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
    }

    /* Ensure meta row takes remaining space and pushes status to bottom */
    .lw-session-item .lw-session-meta-row {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    /* Style status and date/time elements */
    .lw-session-item .lw-status {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .lw-session-item .lw-booked-date,
    .lw-session-item .lw-booked-time {
        font-size: 12px;
        color: #555;
        line-height: 1.2;
    }

    .lw-sessions-wrap.is-mobile-accordion {
        gap: 16px;
    }

    .lw-sessions-wrap.is-mobile-accordion .lw-sessions-right {
        display: none;
        /* details are shown under list items */
    }

    .lw-accordion-detail {
        overflow: hidden;
        transition: max-height .25s ease, opacity .2s ease, margin .2s ease;
        max-height: 0;
        opacity: 0;
        margin: 0 0 0 56px;
        /* indent under index circle */
    }

    .lw-accordion-detail .lw-session-detail {
        display: block;
        /* allow internal layout; visibility controlled by host */
        opacity: 1;
        transform: none;
        margin: 8px 0 14px 0;
    }

    .lw-accordion-detail.expanded {
        max-height: 2000px;
        /* large enough for content */
        opacity: 1;
        margin: 8px 0 12px 0px;
    }

    /* Make session items look clickable for accordion */
    .lw-sessions-left .lw-session-item {
        cursor: pointer;
    }

    /* Mobile CTA button size reduction */
    .lw-session-cta .lw-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 36px;
    }

    .lw-session-cta .lw-btn-chat-support {
        padding: 8px 12px !important;
        font-size: 13px !important;
        min-height: 36px !important;
    }
}

/* Floating button: scroll to sessions (mobile only) */
@media (max-width: 768px) {
    .lw-scroll-to-sessions {
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 50;
        width: 48px;
        height: 48px;
        border-radius: 9999px;
        background: #2A3242;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
        border: 1px solid rgba(0, 0, 0, .1);
        cursor: pointer;
        opacity: .92;
        transition: transform .15s ease, opacity .15s ease;
    }

    .lw-scroll-to-sessions .dashicons {
        color: #fff;
    }

    .lw-scroll-to-sessions:hover .dashicons {
        color: #fff;
    }

    .lw-scroll-to-sessions:active {
        transform: scale(.98);
    }

    .lw-scroll-to-sessions[hidden] {
        display: none !important;
    }
}

/* Ensure first session is visible by default */
.lw-session-detail:first-child.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lw-tab-content h4 {
    margin-top: 0;
}

.lw-date-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.lw-date-card {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 60px;
    border: 1px solid transparent;
}

.lw-date-card.active {
    background: #3498db;
    color: #2A3242;
    border-color: #2980b9;
}



.lw-weekday {
    font-size: 11px;
    margin-top: 2px;
}

.lw-time-slots {
    margin-top: 0;
}

.lw-time-group {
    display: none;
    gap: 8px;
    flex-wrap: wrap;
}

.lw-time-group.active {
    display: flex;
}

.lw-time-btn {
    color: black;
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}



.lw-time-btn.active {
    background: #55D6AB;
    color: #2A3242;
    border-color: #ddd;
}

.lw-time-btn.selected {
    background: #55D6AB;
    color: #2A3242;
    border-color: #ddd;
}

/* Tab content h4 with icons */
.lw-tab-content h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2A3242;
}

.lw-tab-content-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lw-tab-content h4 span[class*="dashicons"],
.lw-tab-content h4 span[class*="fa-"],
.lw-tab-content h4 span[class*="icon-"] {
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-center {
    align-items: start !important;
}

/* Responsive Vimeo embed */
.lw-vimeo-content {
    margin-top: 12px;
}

.lw-vimeo-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.lw-vimeo-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.lw-session-detail .fluid-width-video-wrapper {
    position: static !important;
}

/* Force padding-top 56% for fluid-width-video-wrapper on mobile */
@media (max-width: 768px) {
    /* Maximum specificity override for all possible selectors */
    html body .fluid-width-video-wrapper,
    body .fluid-width-video-wrapper,
    .fluid-width-video-wrapper,
    *[class*="fluid-width-video-wrapper"],
    *[class*="fluid-width-video-wrapper"][style*="padding-top"],
    *[style*="padding-top: 80%"],
    *[style*="padding-top:80%"],
    *[style*="padding-top: 80%"],
    *[style*="padding-top:80%"] {
        padding-top: 56% !important;
    }
    
    /* Force override any inline styles with maximum specificity */
    html body *[style*="padding-top"],
    body *[style*="padding-top"],
    *[style*="padding-top"] {
        padding-top: 56% !important;
    }
}

.lw-session-detail.is-preview .lw-selection-right,
.lw-weekday-tabs.is-disabled,
.lw-time-slots.is-disabled {
    position: relative;
}

/* Prevent interaction in preview mode */
.lw-session-detail.is-preview .lw-selection-right * {
    pointer-events: none !important;
}

/* Exception: Allow week navigation buttons to be clickable in preview mode */
.lw-session-detail.is-preview .lw-selection-right .lw-week-nav,
.lw-session-detail.is-preview .lw-selection-right .lw-week-nav * {
    pointer-events: auto !important;
}

/* Specific buttons: visually disabled */
.lw-session-detail.is-preview .lw-weekday-btn,
.lw-session-detail.is-preview .lw-time-btn,
.lw-weekday-tabs.is-disabled .lw-weekday-btn,
.lw-time-slots.is-disabled .lw-time-btn {
    cursor: not-allowed !important;
    opacity: .6 !important;
}

/* Preview mode: active weekday button with white background */
.lw-session-detail.is-preview .lw-weekday-btn.active {
    background: #ffffff !important;
    color: #2A3242 !important;

}

.lw-tooltip {
    position: relative;
    display: inline-block;
}

.lw-tooltip-bubble {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #2A3242;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.2;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

/* Tooltip arrow */
.lw-tooltip-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #2A3242 transparent transparent transparent;
}

/* Show on hover and focus */
.lw-tooltip:hover .lw-tooltip-bubble,
.lw-tooltip:focus-within .lw-tooltip-bubble {
    opacity: 1;
}

/* Enable tooltip hover in preview mode while keeping buttons non-interactive */
.lw-session-detail.is-preview .lw-selection-right .lw-tooltip {
    pointer-events: auto !important;
    /* allow hover on wrapper */
}

/* Hide tooltip containers when their buttons are hidden */
.lw-tooltip:has(button[hidden]) {
    display: none !important;
}

.lw-session-detail.is-preview .lw-selection-right .lw-tooltip .lw-tooltip-bubble {
    pointer-events: none !important;
    /* bubble itself shouldn't capture clicks */
}

.lw-session-detail.is-preview .lw-selection-right .lw-tooltip>button,
.lw-session-detail.is-preview .lw-selection-right .lw-tooltip>.lw-weekday-btn,
.lw-session-detail.is-preview .lw-selection-right .lw-tooltip>.lw-time-btn,
.lw-session-detail.is-preview .lw-selection-right .lw-tooltip>.lw-week-prev,
.lw-session-detail.is-preview .lw-selection-right .lw-tooltip>.lw-week-next {
    pointer-events: none !important;
    /* keep inner buttons disabled */
}

.lw-selection-right.is-locked {
    position: relative;
}

.lw-selection-right.is-locked * {
    pointer-events: none !important;
}

/* Exception: Allow week navigation buttons to be clickable in locked/preview mode */
.lw-selection-right.is-locked .lw-week-nav,
.lw-selection-right.is-locked .lw-week-nav *,
.lw-session-detail.is-preview .lw-selection-right .lw-week-nav,
.lw-session-detail.is-preview .lw-selection-right .lw-week-nav * {
    pointer-events: auto !important;
}

.lw-selection-right.is-locked .lw-weekday-btn,
.lw-selection-right.is-locked .lw-time-btn {
    opacity: .6 !important;
    cursor: not-allowed !important;
}

/* Google Reviews Section - Prevent layout interference */
.lw-google-reviews-section {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 40px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure Google Reviews doesn't interfere with session switching */
.lw-google-reviews-section * {
    pointer-events: auto;
}

/* Prevent any layout shifts when Google Reviews loads */
.lw-google-reviews-section .elfsight-app-3c3d3ee3-6a56-4439-93c4-8577fa60badc {
    min-height: 200px;
    width: 100%;
}

/* Enhanced Price Row Button Alignment */
.lw-pricerow .lw-hero__btn {
    min-width: 160px;
    max-width: 200px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Chat button alignment in price row */
.lw-pricerow .hero-chat-container {
    flex-shrink: 0;
}

/* Hero chat button layout and hover text color */
.hero-chat-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-chat-text {
    display: inline-flex;
    flex-direction: column;
}

.hero-chat-button:hover .hero-chat-text,
.hero-chat-button:hover .hero-chat-line2 {
    color: #fff;
}



/* Star rating alignment in price row */
.lw-pricerow .lw-star-rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 0;
}

.lw-pricerow .lw-rating-number {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1;
}

.lw-pricerow .lw-rating-stars-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.lw-pricerow .average-star-rating {
    display: flex;
    gap: 2px;
    align-items: center;
}

.lw-pricerow .lw-rating-reviews {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    line-height: 1;
}

/* Responsive adjustments for price row elements */
@media (max-width: 768px) {
    .lw-pricerow .lw-hero__btn {
        min-width: 100%;
        max-width: 100%;
    }
    

    .lw-pricerow .lw-star-rating-section {
        gap: 6px;
        justify-content: center;
    }
    
    .lw-pricerow .lw-rating-number {
        font-size: 14px;
    }
    
    .lw-pricerow .lw-rating-reviews {
        font-size: 10px;
    }
    
    .lw-pricerow .average-star-rating img {
        width: 32px !important;
        height: 32px !important;
    }
}

/* Ensure proper spacing and alignment for all price row content */
.lw-pricerow__right > * {
    margin: 0;
}

.lw-pricerow__right > *:not(:last-child) {
    margin-right: 0;
}