#tfc-mobile-sidebar-app {
    background: #f3f3f1;
    height: 100%;
    width: 100%;
    overflow: hidden;
    color: #1f1f1f;
    font-family: inherit;
}

#tfc-mobile-sidebar-app * {
    box-sizing: border-box;
}

.tfc-mobile-sidebar-shell {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 28px 28px 0 0;
    background: #f3f3f1;
}

.tfc-mobile-sidebar-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #f3f3f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px 14px;
    border-bottom: 1px solid rgba(0,0,0,.04);
}

.tfc-mobile-sidebar-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tfc-mobile-sidebar-title {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
}

.tfc-mobile-sidebar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tfc-icon-btn,
.tfc-back-btn {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 999px;
    /* background: rgba(255,255,255,.65); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1f1f1f;
    text-decoration: none;
    cursor: pointer;
    /* box-shadow: 0 1px 4px rgba(0,0,0,.05); */
}

.mobile-extra a.tfc-login-btn:not(.button) {
    color: #fff;
}

.tfc-login-btn {
    height: 35px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #557AA0;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.tfc-back-btn,
#tfc-mobile-sidebar-app,
.tfc-close-sidebar{
    background: rgba(255,255,255,.65);
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.tfc-mobile-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 10px 50px;
    -webkit-overflow-scrolling: touch;
    padding-top: 10px;
}

.tfc-mobile-sidebar-panels {
    position: relative;
    min-height: 100%;
}

.tfc-panel {
    display: none;
    animation: tfcFadeIn .18s ease;
    margin-top: 20px;
}

.tfc-panel.is-active {
    display: block;
}

@keyframes tfcFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.tfc-section-card {
    background: #ececeb;
    border-radius: 26px;
    padding: 22px;
    padding-top: 14px;
    margin-bottom: 12px;
}

.tfc-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #7c7c7c;
    margin-bottom: 16px;
    margin-top: 16px;
}

.tfc-panel-heading {
    font-size: 30px;
    line-height: 1.1;
    margin: 0 0 28px;
    font-weight: 600;
}

.tfc-nav-list,
.tfc-feature-list,
.tfc-link-list,
.tfc-partnership-list,
.tfc-mini-article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tfc-nav-row,
.tfc-feature-row,
.tfc-simple-link,
.tfc-partnership-card {
    width: 100%;
    border: 0;
    background: transparent;
    color: #1f1f1f;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
}

.tfc-nav-row span,
.tfc-simple-link,
.tfc-feature-row strong,
.tfc-partnership-copy strong {
    font-weight: 500;
    font-size: 18px !important;
}

.tfc-feature-row div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tfc-feature-row span,
.tfc-partnership-copy span {
    font-size: 16px !important;
    color: #646464;
}

.tfc-card-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    /*
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    padding-right: 220px;
    align-items: stretch;
    */
    min-height: 370px;

    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
}

.tfc-card-scroller > .tfc-product-card {
    scroll-snap-align: start;
}

.tfc-card-scroller::-webkit-scrollbar {
    display: none;
}

.tfc-product-card {
    min-width: 220px;
    width: 220px;
    /* background: linear-gradient(to bottom, #dad3c8 0%, #e9e5df 100%); */
    background: white;
    border-radius: 28px;
    text-decoration: none;
    color: #1f1f1f;
    border: 0;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: inherit;
}

.tfc-product-card-media {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tfc-product-card-media img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    /* mix-blend-mode: multiply;
    filter: brightness(1.0) contrast(1.10); */
}

.tfc-product-card-body {
    padding: 16px 16px 20px;
    align-items: inherit;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.tfc-product-card-body .row {
    margin-top: auto;
}

.tfc-product-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    display: flex;
    gap: 5px;
}

.tfc-flip-card-front,
.tfc-flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #dad3c8;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.tfc-flip-card-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.tfc-product-card-subtitle {
    margin-top: 6px;
    font-size: 13px;
    color: #6c6c6c;
}

.tfc-assessment-legal-status{
    position: absolute;
    top: 10px;
    left: 20px;
    width: 28px;
    height: 28px;
}

.tfc-assessment-badge {
    /* position: absolute;
    top: 12px;
    right: 20px; */
    /* background: #fff4d6; */
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #d18b00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.tfc-partnership-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.tfc-mobile-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(17,17,17,.56);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tfc-mobile-modal {
    width: 100%;
    max-width: 760px;
    height: fit-content;
    max-height: 500px;
    background: #fff;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tfc-mobile-modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tfc-mobile-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.tfc-mobile-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fafafa;
}

.tfc-mobile-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(0,0,0,.08);
    background: #fff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
}

.tfc-btn {
    border: 0;
    border-radius: 14px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: unset !important;
    text-align: center;
}

.tfc-btn-primary {
    background: #275a94;
    color: #fff;
}

.tfc-btn-secondary {
    background: transparent;
    color: #1f1f1f;
    font-size: 20px !important;
    font-weight: 400 !important;
}

/* ── Supporting documents & live photo upload ──────────────────────────── */

.tfc-supdoc {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 25px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tfc-supdoc-field {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
}

.tfc-supdoc-label {
    font-weight: 600;
    color: #131315;
}

.tfc-supdoc-section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7c7c7c;
    margin-top: 12px;
    margin-bottom: 16px;
}

.tfc-supdoc-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2ddd6;
    border-radius: 16px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
}

.tfc-supdoc-textarea:focus {
    outline: none;
    border-color: #2B5993;
    box-shadow: 0 0 0 3px rgba(43,89,147,.12);
}

/* Method choice */
.tfc-supdoc-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tfc-supdoc-option {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px;
    border: 1px solid #e2ddd6;
    border-radius: 18px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.tfc-supdoc-option:hover {
    border-color: #2B5993;
    box-shadow: 0 6px 18px rgba(43,89,147,.10);
    transform: translateY(-1px);
}

.tfc-supdoc-option-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #eae7c5, #9ca37c);
    color: #41461d;
    font-size: 20px;
}

.tfc-supdoc-option-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tfc-supdoc-option-text strong {
    font-size: 16px;
    color: #131315;
}

.tfc-supdoc-option-text span {
    font-size: 13px;
    color: #646464;
}

/* Document upload */
.tfc-supdoc-back {
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: #2B5993;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 12px;
}

.tfc-supdoc-cam-reason {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fdf3e7;
    color: #8a5a16;
    font-size: 14px;
}

/* Visually hide the native file input, trigger it via the styled dropzone label */
.tfc-supdoc-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.tfc-supdoc-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 32px 20px;
    border: 2px dashed #cfc7bb;
    border-radius: 18px;
    background: #faf8f4;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.tfc-supdoc-dropzone:hover {
    border-color: #2B5993;
    background: #f5f8fc;
}

.tfc-supdoc-dropzone i {
    font-size: 28px;
    color: #2B5993;
}

.tfc-supdoc-dropzone strong {
    font-size: 15px;
    color: #131315;
}

.tfc-supdoc-dropzone span {
    font-size: 13px;
    color: #646464;
}

.tfc-supdoc-preview {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 12px;
}

.tfc-supdoc-preview img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.tfc-supdoc-preview-meta,
.tfc-supdoc-preview-file {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #131315;
    word-break: break-word;
}

.tfc-supdoc-preview-file {
    margin-top: 0;
    padding: 6px 2px;
}

.tfc-supdoc-preview-meta i,
.tfc-supdoc-preview-file i {
    color: #2B5993;
}

/* Live camera */
.tfc-supdoc-camera {
    width: 100%;
}

.tfc-supdoc-cam-canvas,
.tfc-supdoc-cam-requesting,
.tfc-supdoc-cam-error,
.tfc-supdoc-cam-viewport,
.tfc-supdoc-cam-preview {
    display: none;
}

.tfc-supdoc-camera[data-cam-state="requesting"] .tfc-supdoc-cam-requesting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 48px 0;
    position: relative;
    min-height: 160px;
}

.tfc-supdoc-camera[data-cam-state="error"] .tfc-supdoc-cam-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    text-align: center;
    background: #fdf3e7;
    border-radius: 18px;
}

.tfc-supdoc-cam-error-icon i {
    font-size: 32px;
    color: #8a5a16;
}

.tfc-supdoc-cam-error-text {
    margin: 0;
    color: #8a5a16;
    font-size: 14px;
}

.tfc-supdoc-camera[data-cam-state="live"] .tfc-supdoc-cam-viewport {
    display: block;
}

.tfc-supdoc-camera[data-cam-state="preview"] .tfc-supdoc-cam-preview {
    display: block;
}

.tfc-supdoc-cam-viewport {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
}

.tfc-supdoc-cam-video {
    width: 100%;
    display: block;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

/* AI route: fill the viewport (cover) so the skeleton overlay aligns */
.tfc-supdoc-camera[data-cam-mode="ai"] .tfc-supdoc-cam-video {
    height: 60vh;
    max-height: 60vh;
    object-fit: cover;
}

/* Skeleton / countdown overlay — sits over the video, never blocks taps */
.tfc-supdoc-cam-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Guidance text shown during AI framing */
.tfc-supdoc-cam-guide {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 13px;
    text-align: center;
    pointer-events: none;
}

/* Hide the AI-only chrome on the plain (scales) camera route */
.tfc-supdoc-camera[data-cam-mode="plain"] .tfc-supdoc-cam-overlay,
.tfc-supdoc-camera[data-cam-mode="plain"] .tfc-supdoc-cam-guide {
    display: none;
}

.tfc-supdoc-cam-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}

.tfc-supdoc-cam-ctrl {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.tfc-supdoc-shutter {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    border: 4px solid rgba(255,255,255,.85);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tfc-supdoc-shutter-inner {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #fff;
    transition: transform .1s;
}

.tfc-supdoc-shutter:active .tfc-supdoc-shutter-inner {
    transform: scale(.88);
}

.tfc-supdoc-shutter:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.tfc-supdoc-static-prompt {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 96px;
    z-index: 4;
    background: rgba(255,255,255,.96);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

.tfc-supdoc-static-prompt p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #131315;
}

.tfc-supdoc-static-prompt-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.tfc-supdoc-cam-preview-img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.tfc-supdoc-cam-preview-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.tfc-supdoc-cam-preview-actions .tfc-btn,
.tfc-supdoc-static-prompt-actions .tfc-btn {
    flex: 1;
}

.tfc-supdoc-btn-ghost {
    background: #f1ede7;
    color: #131315;
}

/* Footer */
.tfc-supdoc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
}

/* Submission confirmation (shared by document upload & BMI) */
.tfc-supdoc-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 40px 12px;
    grid-column: 1 / -1; /* span the full width inside the BMI grid */
}

.tfc-supdoc-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #eae7c5, #9ca37c);
    color: #41461d;
    font-size: 30px;
}

.tfc-supdoc-success h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #131315;
}

.tfc-supdoc-success p {
    margin: 0;
    max-width: 380px;
    color: #646464;
    font-size: 15px;
}

.tfc-supdoc-success .tfc-btn {
    margin-top: 10px;
    min-width: 160px;
}

.tfc-supdoc-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Override the global .tfc-btn-secondary (sized for the footer's text-style
   Cancel link) so it reads as a proper outlined button next to "Done" */
.tfc-supdoc-success-actions .tfc-btn-secondary {
    background: #fff;
    border: 1px solid #2B5993;
    color: #2B5993;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: background .15s, color .15s;
}

.tfc-supdoc-success-actions .tfc-btn-secondary:hover {
    background: #2B5993;
    color: #fff;
}

.tfc-bmi-modal .assessmentForm .bmiValueContent {
    display: block;
}

.tfc-card-scroller {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tfc-card-scroller::-webkit-scrollbar {
    display: none;
}

.tfc-scroll-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.tfc-scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #dad3c8;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tfc-scroll-dot.is-active {
    background: #000;
    transform: scale(1.05);
}

.tfc-supdoc-cam-status {
    padding-top: 32px;
    padding-bottom: 12px;
}

/* .shoptimizer-archive creates a stacking context (z-index:1) so modals inside it
   paint below the site header (z-index:102) and footer automatically */
.shoptimizer-archive {
    position: relative;
    z-index: 1;
}

/* Modal root is statically positioned so the overlay's fixed positioning reaches the viewport */
#tfc-mobile-modal-root {
    position: static;
}

#tfc-mobile-modal-root .tfc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    background: transparent;
}

#tfc-mobile-modal-root .tfc-modal-card {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: tfc-zoom-in 0.28s cubic-bezier(0.34, 1.1, 0.64, 1) both;
}

#tfc-mobile-modal-root .tfc-modal-card {
    padding-top: 75px;
}

.admin-bar #tfc-mobile-modal-root .tfc-modal-card {
    padding-top: 100px;
}

#tfc-mobile-modal-root .tfc-modal-card.is-closing {
    animation: tfc-zoom-out 0.22s ease-in both;
}

#tfc-mobile-modal-root .tfc-modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    width: 80%;
    margin: 0 auto;
}

#tfc-mobile-modal-root .tfc-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

#tfc-mobile-modal-root .tfc-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#tfc-mobile-modal-root .tfc-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* momentum scrolling on iOS */
    overscroll-behavior: contain;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Assessment page fills the body */
#tfc-mobile-modal-root .tfc-modal-body .tfc-sidebar-reorder-wrap,
#tfc-mobile-modal-root .tfc-modal-body .page-wrapper {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* The React wizard fills its container */
#tfc-mobile-modal-root .wiz-root {
    height: 100%;
    min-height: 100vh;
}

/* Sticky footer inside modal body */
#tfc-mobile-modal-root .tfc-sticky-footer,
#tfc-mobile-modal-root .modal-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    z-index: 5;
}

#tfc-mobile-modal-root .tfc-modal-body::-webkit-scrollbar { width: 6px; }
#tfc-mobile-modal-root .tfc-modal-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 999px; }

.tfc-sidebar-ajax-panel {
    width: 100%;
}

.tfc-sidebar-ajax-panel .modal-footer,
.tfc-sidebar-ajax-panel .tfc-modal-footer {
    position: sticky;
    bottom: 0;
    background: #f6f4ef;
    z-index: 5;
}

.widget{
    margin: 0px !important;
}

/* my health form  */

.inputWrapper {
  width: 100%;
  padding: 0 0 8px
}

.inputWrapper input {
  width: 100%
}

.inputWrapper {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap
}

.bmiInputLabelWithToggle {
    display: flex;
    width: 100%;
    padding-bottom: 4px;
}

.bmiInputs {
  padding-top: 12px
}

.bmiInputs label {
  width: 100%;
  text-align: left
}

.bmiInputs .postFixField {
  width: 100%;
  position: relative
}

.bmiInputs .postFixField+.postFixField {
  margin-top: 12px
}

.bmiInputs .postFixField input {
  width: 100%;
  z-index: 1;
  padding-right: 64px
}

.bmiInputs .postFixField .postfix {
  width: 56px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 41.8px;
  font-size: 15px;
  line-height: 24.27px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 12px
}

/* NHS overrides */

#nhs-signup{
    overflow-x: hidden;
}

.tfc-modal-body .hiw-title{
    display: none;   
}

/* BMI line chart */
.tfc-bmi-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    max-width: 80%;
    padding: 75px 24px 40px;
    margin: 0 auto;
}

.tfc-bmi-split-col {
    min-width: 0;
    height: 98%;
}

.tfc-bmi-chart-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
    height: 100%;
}

.tfc-bmi-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.tfc-bmi-chart-header span {
    font-size: 13px;
    color: #667085;
}

.tfc-bmi-stat-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.tfc-bmi-stat {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    padding: 14px 16px;
}

.tfc-bmi-stat strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 4px;
}

.tfc-bmi-stat span {
    display: block;
    font-size: 13px;
    color: #667085;
}

.tfc-bmi-chart-wrap {
    width: 100%;
}

.tfc-bmi-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.tfc-bmi-chart-key {
    margin-top: 10px;
    font-size: 13px;
    color: #667085;
}

.tfc-bmi-chart-key i {
    display: inline-block;
    width: 16px;
    height: 4px;
    border-radius: 999px;
    background: #dad3c8;
    margin-right: 8px;
    vertical-align: middle;
}

.tfc-bmi-empty {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    background: #fff;
    border: 1px dashed #d0d5dd;
    border-radius: 18px;
}

/* mobile sidebar override */
.col-full-nav {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -500px !important;
  width: 500px !important;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #fff !important;
  z-index: 9999 !important;
  transition: left .35s ease !important;
  overscroll-behavior: contain !important;
  background-color: #f3f3f1 !important;
  padding: 0px !important;
}
.mobile-toggled .col-full-nav{
  left: 0 !important;
}
.mobile-extra {
  display: block !important;
}
.mobile-toggled .mobile-overlay {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9998 !important;
    position: fixed !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(52,53,55,.4) !important;
    content: "" !important;
    transition: opacity .6s,visibility .6s !important;
    top: 0 !important;
}
.menu-primary-menu-container > ul > li > a span{
    border: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.modal-footer .assessment-actions.submit-assessment-process {
    padding: 5px 20px !important;
}

.tfc-modal-card .tfc-modal-body .reorder-paginated-modal .reorder-page-labels{
    gap: 80px !important;
}

.modal-footer .assessment-actions.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    z-index: 90 !important;
}

.tfc-panel .tfc-section-card #tfc-nhs-prescriptions-panel-content .row div .panel,
.tfc-panel .tfc-section-card #tfc-nhs-prescriptions-panel-content .row .panel{
    margin: 0px !important
}

.tfc-panel .tfc-section-card #tfc-nhs-prescriptions-panel-content .row div{
    margin-bottom: 10px !important;
}

.tfc-panel .tfc-section-card #tfc-nhs-prescriptions-panel-content .hiw-title{
    display: none !important;
}

.tfc-panel .tfc-section-card .panel{
    width: 100% !important;
}

.tfc-nhs-fl-label{
    background: #ececeb !important; 
}

.mobile-extra,
#custom_html-12,
.custom-html-widget{
    height: 100%;
}

.mobile-extra h2{
    padding: 0px !important;
    margin-bottom: 0px !important;
    text-transform: none !important;
}

/* cart/basket on sidebar */
.tfc-cart-panel-clean {
    background: #f5f5f3;
    padding: 20px 10px;
}

.tfc-cart-banner-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #e9e5df;
    color: #273043;
    padding: 16px 20px;
    border-radius: 22px;
    margin-bottom: 22px;
    font-weight: 400;
    font-size: 16px;
    justify-content: center;
}

.tfc-cart-banner-inline i {
    font-size: 22px;
}

.tfc-cart-empty-clean {
    background: transparent;
    text-align: center;
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.tfc-cart-items-clean,
.tfc-cart-summary-clean,
.tfc-cart-upsells-clean,
.tfc-cart-checkout-clean {
    background: transparent;
}

.tfc-cart-item-clean {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid #ddd4c8;
}

.tfc-cart-item-media img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 10px;
    background: #efefeb;
    padding: 8px;
}

.tfc-cart-item-main {
    flex: 1;
    min-width: 0;
}

.tfc-cart-item-top,
.tfc-cart-item-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.tfc-cart-item-copy {
    min-width: 0;
    flex: 1;
}

.tfc-cart-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #273043;
    line-height: 1.35;
}

.tfc-cart-item-meta {
    font-size: 13px;
    color: #273043;
    margin-top: 4px;
    opacity: .8;
}

.tfc-cart-item-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 2px 8px;
    background: #eef1e8;
    color: #6b7659;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    border-radius: 20px;
}

.tfc-cart-remove {
    border: 0;
    background: transparent;
    color: #7a8394;
    padding: 0;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.tfc-cart-qty-clean {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd4c8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-top: 16px;
}

.tfc-cart-qty-clean button {
    width: 30px;
    height: 30px;
    border: 0;
    background: #fff;
    color: #2f3a4d;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.tfc-cart-qty-clean button + span,
.tfc-cart-qty-clean span + button,
.tfc-cart-qty-clean button + button,
.tfc-cart-qty-clean span {
    border-left: 1px solid #e8e0d6;
}

.tfc-cart-qty-clean span {
    min-width: 35px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    color: #273043;
}

.tfc-cart-qty-clean button.is-disabled,
.tfc-cart-qty-clean button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.tfc-cart-item-price {
    margin-top: 16px;
    text-align: right;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.tfc-cart-price-old {
    font-size: 14px;
    color: #9aa1ad;
    text-decoration: line-through;
    font-weight: 500;
}

.tfc-cart-price-new {
    font-size: 17px;
    color: #273043;
    font-weight: 700;
}

.tfc-cart-max-note {
    margin-top: 8px;
    font-size: 12px;
    color: #8a6f57;
}

.tfc-cart-summary-clean {
    padding: 10px 0 8px;
    margin-top: 4px;
}

.tfc-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #374151;
    font-size: 16px;
}

.tfc-cart-total-row strong {
    color: #273043;
    font-weight: 600;
}

.tfc-cart-total-row.is-grand {
    padding-top: 18px;
    margin-top: 8px;
    border-top: 1px solid #ddd4c8;
    font-size: 18px;
    color: #111827;
}

.tfc-cart-total-row.is-grand strong {
    font-size: 18px;
    font-weight: 800;
}

.tfc-cart-discount-row strong {
    color: #168f52;
}

.tfc-cart-upsells-clean {
    display: grid;
    gap: 14px;
    margin: 22px 0 22px;
}

.tfc-cart-checkout-clean {
    padding-top: 8px;
}

.tfc-cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: black;
    color: white !important;
    font-weight: 400;
    padding: 16px 18px;
    border-radius: 22px;
    text-decoration: none;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"  !important;
}

.tfc-cart-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.tfc-cart-payments img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.tfc-cart-sidebar-panel .tfc-section-card,
.tfc-panel[data-panel="cart-sidebar"] .tfc-section-card {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding-left: 0;
    padding-right: 0;
}

.tfc-cart-panel-clean {
    background: #f5f5f3;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    min-height: 0;
}

.tfc-cart-scroll-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 20px;
    padding-bottom: 100px;
    min-height: 400px;
}

.tfc-cart-fixed-bottom {
    flex: 0 0 auto;
    padding-bottom: 30px;
    padding-top: 30px;
    border-bottom: 1px solid lightgray;
    bottom: 0;
    background: #f3f3f1;
    z-index: 8;
    box-shadow: none;
}

.tfc-cart-fixed-bottom::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 22px;
    background: linear-gradient(
        to bottom,
        rgba(245,245,243,0) 0%,
        rgba(245,245,243,0.9) 70%,
        #f5f5f3 100%
    );
    pointer-events: none;
}

.tfc-cart-fixed-bottom .tfc-cart-totals-card {
    padding-top: 10px;
}

.tfc-cart-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.tfc-cart-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.12);
    border-radius: 999px;
}

.tfc-cart-summary-clean {
    padding: 0 0 8px;
    margin-top: 0;
    border-top: 0;
    border-top: 1px solid lightgray;
}

.tfc-cart-checkout-clean {
    padding-top: 8px;
    background: #f5f5f3;
}

.tfc-cart-upsells-clean {
    display: grid;
    gap: 14px;
    margin: 22px 0 6px;
}

.tfc-cart-also-bought-scroller {
    margin-top: 10px;
}

.tfc-cart-also-bought-price {
    margin-top: 8px;
    font-weight: 700;
    color: #1d2739;
}

.tfc-cart-people-also-bought .tfc-product-card {
    min-width: 220px;
    width: 220px;
    max-width: 220px;
    flex: 0 0 220px;
    align-self: stretch;
    min-height: 370px;
}

.tfc-cart-people-also-bought .tfc-product-card.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.tfc-cart-scroll-area {
    position: relative;
}

.tfc-cart-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(218, 211, 200, 0.95);
    color: #1f2a44;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 4;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: tfcCartArrowBounce 1.6s infinite;
}

.tfc-cart-scroll-indicator.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
}

@keyframes tfcCartArrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.tfc-product-card-has-cart {
    position: relative;
}

.tfc-product-card-main-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.tfc-product-card-cart-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #1f2a44;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
    z-index: 3;
}

.tfc-product-card-cart-btn i {
    font-size: 15px;
}

.tfc-sidebar-loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: absolute;
  z-index:3;
  border: 4px solid #dad3c8;
  top: 20%;
  left: 47%;
  animation: tfc-sidebar-loader 2s infinite ease;
}

.tfc-sidebar-loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #dad3c8;
  animation: tfc-sidebar-loader-inner 2s infinite ease-in;
}

@keyframes tfc-sidebar-loader {
  0% {
    transform: rotate(0deg);
  }
  
  25% {
    transform: rotate(180deg);
  }
  
  50% {
    transform: rotate(180deg);
  }
  
  75% {
    transform: rotate(360deg);
  }
  
  100% {
    transform: rotate(360deg);
  }
}

@keyframes tfc-sidebar-loader-inner {
  0% {
    height: 0%;
  }
  
  25% {
    height: 0%;
  }
  
  50% {
    height: 100%;
  }
  
  75% {
    height: 100%;
  }
  
  100% {
    height: 0%;
  }
}

/* people also liked card flip */

.tfc-flip-card {
    position: relative;
    perspective: 1000px;
    align-self: stretch;
    height: auto;
}

.tfc-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.tfc-flip-card.is-flipped .tfc-flip-card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.tfc-flip-card-front,
.tfc-flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* background: linear-gradient(to bottom, #dad3c8 0%, #e9e5df 100%); */
    background: white;
    display: flex;
    flex-direction: column;
    touch-action: pan-x pan-y;
}

.tfc-flip-card-front {
    z-index: 2;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

.tfc-flip-card-back {
    z-index: 1;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.tfc-product-card-main-link,
.tfc-flip-card-back-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.tfc-flip-card-back-inner {
    gap: 12px;
    padding: 16px 16px 0px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

.tfc-variant-group-label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #1d2a44;
    text-align: center;
}

.tfc-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 230px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.tfc-variant-option {
    border: 1px solid rgba(29,42,68,.18);
    background: #fff;
    color: #1d2a44;
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.tfc-variant-option.is-selected {
    background: #1d2a44;
    color: #fff;
    border-color: #1d2a44;
}

.tfc-flip-card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 10px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0px;
    /* background-color: #e7e3dc; */
    background-color: white;
}

.tfc-variant-cancel,
.tfc-variant-submit {
    font-weight: 700;
    cursor: pointer;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50px;
}

.tfc-variant-cancel {
    background: rgba(255,255,255,.7);
    color: #1d2a44;
}

.tfc-variant-submit {
    background: #1d2a44;
    color: #fff;
}

.tfc-variant-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* social animated */

.social-animated {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.social-animated:hover {
    transform: scale(1.15);
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%   { transform: scale(1.15) translateX(0); }
    25%  { transform: scale(1.15) translateX(-2px); }
    50%  { transform: scale(1.15) translateX(2px); }
    75%  { transform: scale(1.15) translateX(-2px); }
    100% { transform: scale(1.15) translateX(0); }
}

/* media cards on people also bought section */

.tfc-cart-people-also-bought .tfc-product-card-media {
    position: relative;
}

.tfc-cart-people-also-bought .tfc-assessment-legal-status {
    position: absolute;
    top: 10px;
    left: -10px;
    z-index: 3;
}

.tfc-custom-cart-trigger .elementor-menu-cart__container {
    display: none !important;
}

.elementor-menu-cart__container {
    display: none !important;
}

@media (max-width: 600px) {
    .tfc-cart-people-also-bought {
        padding-bottom: 100px;
    }

    .tfc-mobile-sidebar-scroll{
        padding: 0 10px 140px;
    }
    
    /* cart basket */

    .tfc-cart-panel-clean {
        height: calc(100vh - 110px);
    }

    .tfc-cart-item {
        grid-template-columns: 72px 1fr;
    }

    .tfc-cart-item-media img {
        width: 72px;
        height: 72px;
    }

    .tfc-cart-upsell-card h4 {
        font-size: 24px;
    }

    /* rest TODO:: segregate rest */

    .col-full-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 85% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        transform: translateX(-100%) !important;
        overflow-y: auto !important;
        background: #fff !important;
        z-index: 9999 !important;
    }
    .mobile-toggled .col-full-nav{
        transform: translateX(0) !important;
    }
    .mobile-extra{ padding-bottom: 0px !important; }

    .tfc-bmi-split {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    /* The full-screen modal has its own header on mobile, so the large desktop
       top padding is unnecessary here. */
    .tfc-supdoc,
    .tfc-bmi-split {
        padding-top: 24px;
    }

    .assessmentForm .fieldWrapper .inputWrapper {
        justify-content: flex-start
    }
    
    #tfc-mobile-modal-root .tfc-modal-overlay {
        padding: 0;
    }

    #tfc-mobile-modal-root .tfc-modal-card {
        padding-top: 50px;
    }
    
    .admin-bar #tfc-mobile-modal-root .tfc-modal-card {
        padding-top: 100px;
    }

    .top-banner-visible #tfc-mobile-modal-root .tfc-modal-card {
        padding-top: 150px;
    }
    
    .admin-bar.top-banner-visible #tfc-mobile-modal-root .tfc-modal-card {
        padding-top: 170px;
    }

    #tfc-mobile-modal-root .tfc-modal-card {
        width: 100vw;
        max-height: 100dvh;
        border-radius: 0;
    }

    #tfc-mobile-modal-root .tfc-modal-header {
        padding: 18px 16px;
        width: 100%;
    }

    #tfc-mobile-modal-root .tfc-modal-body {
        padding: 16px 16px 0;
    }

    #tfc-mobile-modal-root .tfc-modal-close {
        width: 48px;
        height: 48px;
    }

    .tfc-mobile-sidebar-title {
        font-size: 24px;
    }

    .tfc-panel-heading {
        font-size: 26px;
    }

    .tfc-product-card {
        min-width: 180px;
        width: 180px;
        flex: 0 0 180px;
    }

    .tfc-product-card-media {
        height: 180px;
    }

    .tfc-mobile-modal {
        height: 94vh;
    }

    .tfc-cart-people-also-bought .tfc-product-card {
        min-width: 180px;
        width: 200px;
        max-width: 200px;
    }
}

/* ─── Full-screen assessment / reorder overlay ───────────────────────────── */
@keyframes tfc-zoom-in {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1);   }
}
@keyframes tfc-zoom-out {
    from { opacity: 1; transform: scale(1);   }
    to   { opacity: 0; transform: scale(0.9); }
}

.tfc-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: tfc-zoom-in 0.28s cubic-bezier(0.34, 1.1, 0.64, 1) both;
}

.tfc-fullscreen-overlay.is-closing {
    animation: tfc-zoom-out 0.22s ease-in both;
}

.tfc-reorder-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.tfc-reorder-close-btn:hover {
    color: #111;
    background: rgba(0,0,0,0.07);
}

.tfc-fullscreen-overlay .reorderInner {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    max-height: none !important;
}

/* React wizard fills full height of overlay */
.tfc-fullscreen-overlay .wiz-root,
.tfc-fullscreen-overlay #tfc-assessment-chat-root {
    height: 100%;
}

/* Page dots / labels row — hide on assessment overlay (React wizard has own header) */
.tfc-fullscreen-overlay .reorderInner > .row.aicenter:nth-child(1),
.tfc-fullscreen-overlay .reorderInner > .row.aicenter:nth-child(2) {
    display: none !important;
}

/* Add to Basket button on the Treatment page */
.reorder-submit-row {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0 10px;
}

.submit-assessment-process {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #275A94;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.submit-assessment-process:hover {
    background: #1e4575;
}

#price-tag {
    background: #f7f8f2;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.78rem;
    color: #4d5e36;
    font-weight: 700;
}