/* ===== ROOMIFY CHECKOUT PAGE STYLES ===== */
/* Loaded after CartFlows dequeues theme CSS (see functions.php). */

body.woocommerce-checkout,
body.roomify-checkout-hero-page {
    background: #f4f0e8;
}

.my-account .elementor-button {
    background-color: #2D5544;
    color: #D7D0C3 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 16px;
    font-size: 14px;
}

/* Default CartFlows step template */
.cartflows-container>.roomify-page-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Instant Checkout: full-bleed hero from checkout-form--wrapper */
body.cartflows-instant-checkout.roomify-checkout-hero-page .cartflows-checkout-main-wrapper,
body.cartflows-instant-checkout.roomify-checkout-hero-page .main-container--wrapper,
body.cartflows-instant-checkout.roomify-checkout-hero-page .checkout-form--wrapper {
    overflow: visible;
}

body.cartflows-instant-checkout.roomify-checkout-hero-page .main-container--wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

body.cartflows-instant-checkout.roomify-checkout-hero-page .checkout-form--wrapper {
    width: 100%;
}

body.cartflows-instant-checkout.roomify-checkout-hero-page .checkout-form--wrapper>.roomify-page-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.roomify-checkout-hero-page .cartflows-primary {
    max-width: 1250px;
    margin: 0 auto;
    padding: 60px 30px 100px;
    box-sizing: border-box;
}

body.roomify-checkout-hero-page .roomify-page-hero,
body.woocommerce-checkout .roomify-page-hero,
.roomify-checkout-page .roomify-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 150px 30px;
    overflow: hidden;
    box-sizing: border-box;
}

body.roomify-checkout-hero-page .roomify-page-hero__image,
body.woocommerce-checkout .roomify-page-hero__image,
.roomify-checkout-page .roomify-page-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

body.roomify-checkout-hero-page .roomify-page-hero__overlay,
body.woocommerce-checkout .roomify-page-hero__overlay,
.roomify-checkout-page .roomify-page-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: #1f1a11;
    opacity: 0.8;
    pointer-events: none;
}

body.roomify-checkout-hero-page .roomify-page-hero__inner,
body.woocommerce-checkout .roomify-page-hero__inner,
.roomify-checkout-page .roomify-page-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1250px;
    margin-top: 50px;
    padding: 0 15%;
    text-align: center;
}

body.roomify-checkout-hero-page .roomify-page-hero__title,
body.woocommerce-checkout .roomify-page-hero__title,
.roomify-checkout-page .roomify-page-hero__title {
    margin: 0;
    color: #d7d0c3;
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.roomify-checkout-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.roomify-checkout-page .wp-block-woocommerce-checkout,
.roomify-checkout-page .woocommerce {
    width: 100%;
}

@media (max-width: 1024px) {

    body.roomify-checkout-hero-page .roomify-page-hero,
    body.woocommerce-checkout .roomify-page-hero,
    .roomify-checkout-page .roomify-page-hero {
        padding: 80px 40px;
    }

    body.roomify-checkout-hero-page .roomify-page-hero__inner,
    body.woocommerce-checkout .roomify-page-hero__inner,
    .roomify-checkout-page .roomify-page-hero__inner {
        padding: 0;
    }

    body.roomify-checkout-hero-page .roomify-page-hero__title,
    body.woocommerce-checkout .roomify-page-hero__title,
    .roomify-checkout-page .roomify-page-hero__title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {

    body.roomify-checkout-hero-page .roomify-page-hero,
    body.woocommerce-checkout .roomify-page-hero,
    .roomify-checkout-page .roomify-page-hero {
        min-height: 400px;
        padding: 60px 20px;
    }

    body.roomify-checkout-hero-page .roomify-page-hero__inner,
    body.woocommerce-checkout .roomify-page-hero__inner,
    .roomify-checkout-page .roomify-page-hero__inner {
        margin-top: 40px;
    }

    body.roomify-checkout-hero-page .roomify-page-hero__title,
    body.woocommerce-checkout .roomify-page-hero__title,
    .roomify-checkout-page .roomify-page-hero__title {
        font-size: 40px;
    }

    .roomify-checkout-page {
        padding: 40px 20px 70px;
    }

    body.roomify-checkout-hero-page .cartflows-primary {
        padding: 40px 20px 70px;
    }
}

.wpml-ls-legacy-dropdown {
    width: 9.5em !important;
}

/* ── Roomify Product Tabs — Shipping & Returns ─────────────────────────────── */
.roomify-tab-content {
    padding: 8px 0;
}

.roomify-tab-content h2 {
    font-size: 1.2em;
    margin-bottom: 16px;
}

.roomify-shipping-info {
    margin-bottom: 24px;
    line-height: 1.7;
}

.roomify-shipping-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.roomify-shipping-table thead th {
    background: #f5f5f5;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
}

.roomify-shipping-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.roomify-shipping-table tbody tr:last-child td {
    border-bottom: none;
}

.roomify-shipping-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

/* Country filter */
.roomify-shipping-costs {
    margin-top: 8px;
}

.rsc-filter {
    margin-bottom: 20px;
}

.rsc-filter-label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.rsc-select-wrap {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.rsc-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
}

.rsc-select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    font-size: 14px;
    border: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #333;
    outline: none;
}

/* Scrollable table */
.rsc-table-wrap {
    overflow-x: auto;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.rsc-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 14px;
}

/* Header row */
.rsc-table thead tr {
    border-bottom: 2px solid #e8e8e8;
}

.rsc-th-label {
    padding: 14px 18px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #888;
    white-space: nowrap;
    min-width: 160px;
    background: #fff;
}

.rsc-th-country {
    padding: 14px 16px;
    text-align: center;
    white-space: nowrap;
    background: #fff;
}

.rsc-flag {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

.rsc-country-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #222;
    vertical-align: middle;
}

/* Data row */
.rsc-table tbody tr {
    background: #f8f9fa;
}

.rsc-td-label {
    padding: 14px 18px;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    border-top: 1px solid #eee;
}

.rsc-td-cost {
    padding: 14px 16px;
    font-size: 14px;
    color: #222;
    white-space: nowrap;
    border-top: 1px solid #eee;
    text-align: center;
}

.roomify-return-policy {
    line-height: 1.7;
}

/* ── Roomify Tiered Cart Progress Bar ───────────────────────────────────────── */
.roomify-cart-progress {
    background: #fff;
    border: 1px solid #e7dfd3;
    border-radius: 10px;
    padding: 24px 28px 20px;
    margin-bottom: 28px;
    font-family: inherit;
}

/* Milestones row */
.roomify-progress-milestones {
    position: relative;
    height: 36px;
    margin-bottom: 6px;
}

.roomify-milestone {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: color .3s;
}

.roomify-milestone:first-child {
    transform: translateX(0);
}

.roomify-milestone:last-child {
    transform: translateX(-100%);
}

.roomify-milestone-icon {
    font-size: 18px;
    line-height: 1;
}

.roomify-milestone-label {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: .4px;
    white-space: nowrap;
}

.roomify-milestone.is-reached .roomify-milestone-label {
    color: #315543;
}

/* Track */
.roomify-progress-track {
    width: 100%;
    height: 10px;
    background: #ede9e1;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 14px;
}

/* Fill — tier1 = warm green, tier2 = richer green, complete = gold */
.roomify-progress--tier1 .roomify-progress-fill {
    background: linear-gradient(90deg, #4a8c6f, #315543);
}

.roomify-progress--tier2 .roomify-progress-fill {
    background: linear-gradient(90deg, #315543, #2f5d50);
}

.roomify-progress--complete .roomify-progress-fill {
    background: linear-gradient(90deg, #b8973a, #d4af55);
}

.roomify-progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width .6s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
}

.roomify-progress-pct {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    white-space: nowrap;
}

/* Message */
.roomify-progress-message {
    margin: 0;
    font-size: 13.5px;
    color: #5e5a55;
    line-height: 1.6;
    text-align: center;
}

.roomify-progress-message strong {
    color: #2d2a26;
}

.roomify-progress--complete .roomify-progress-message strong {
    color: #315543;
}

/* Free gift badge & label */
.roomify-gift-badge,
.roomify-free-label {
    display: inline-block;
    background: #315543;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Checkout return policy (CartFlows order review) */
.roomify-return-policy-notice {
    padding-top: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.roomify-return-policy-notice .roomify-return-policy-item--extra {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

body.woocommerce-checkout .wcf-customer-info-main-wrapper, body.woocommerce-checkout .wcf-ic-layout-right-column{
    background: #f4f0e8 !important;
}

/* Checkout — Continue Shopping */
.roomify-continue-shopping-wrap {
    margin: 0 0 28px;
}

.roomify-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    color: #315543 !important;
    border: 1px solid #315543 !important;
    padding: 12px 24px !important;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.roomify-continue-shopping::before {
    content: "\2190";
    font-size: 14px;
    line-height: 1;
}

.roomify-continue-shopping:hover {
    background: #315543 !important;
    color: #fff !important;
}

.roomify-collection-page__categories-heading {
    margin: 0 0 28px;
    color: #2d2a26;
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
}

.roomify-checkout-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 12px 0 24px;
}

.roomify-checkout-actions >a {
    background: #2f5d50;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    transition: .3s;
    width: 100%;
    font-weight: 600;
    width: auto;
    text-decoration: none;
}

/* Login & Register pages */
body.roomify-login-page,
body.roomify-register-page {
    background: #f4f0e8;
}

.roomify-account-page-main {
    background: #f4f0e8;
    padding: 60px 30px 100px;
}

.roomify-account-page-shell,
.roomify-login-page .woocommerce,
.roomify-register-page .woocommerce,
.roomify-register-page-main .roomify-account-form {
    max-width: 520px;
    margin: 0 auto;
}

.roomify-account-form {
    background: #fff;
    border: 1px solid #e6dfd2;
    padding: 40px 36px;
    box-sizing: border-box;
}

.roomify-account-form h2,
.roomify-account-form #customer_register h2,
.roomify-account-form #customer_login h2 {
    margin: 0 0 24px;
    color: #2d2a26 !important;
    font-size: 28px;
    line-height: 1.2;
}

.roomify-account-form label,
.roomify-register-page-main label {
    display: block;
    margin-bottom: 8px;
    color: #2d2a26 !important;
    font-size: 14px;
    font-weight: 500;
}

.roomify-account-form .required {
    color: #c0392b;
}

.roomify-account-form .woocommerce-Input,
.roomify-account-form input.input-text,
.roomify-register-page-main input.input-text {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d9d2c6 !important;
    border-radius: 0;
    background: #fff !important;
    color: #2d2a26 !important;
    font-size: 15px;
}

.roomify-account-form .woocommerce-form-row {
    margin-bottom: 18px;
}

.roomify-account-form .woocommerce-privacy-policy-text {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #5c574f !important;
}

.roomify-account-form .woocommerce-privacy-policy-text a {
    color: #2D5544;
}

.roomify-account-form .button,
.roomify-account-form .woocommerce-button,
.roomify-account-form .woocommerce-Button,
.roomify-account-form .woocommerce-form-register__submit,
.roomify-account-form .woocommerce-form-login__submit,
.roomify-register-page-main .button {
    background-color: #2D5544 !important;
    color: #D7D0C3 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 28px !important;
    font-size: 14px !important;
    border: 0 !important;
    border-radius: 0;
    cursor: pointer;
    width: auto;
    min-height: auto;
}

.roomify-account-form .button:hover,
.roomify-account-form .woocommerce-button:hover,
.roomify-account-form .woocommerce-Button:hover {
    background-color: #244436 !important;
    color: #D7D0C3 !important;
}

.roomify-account-form__switch {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e6dfd2;
    text-align: center;
    color: #5c574f !important;
}

.roomify-account-form__switch a {
    color: #2D5544 !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.roomify-account-form .woocommerce-LostPassword a {
    color: #2D5544;
}

/* ===============================
   Compact WPML Language Switcher
================================= */

.wpml-ls-legacy-dropdown {
    width: fit-content !important;
}

.wpml-ls {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.wpml-ls ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Toggle */

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    position: relative;
    padding-right: calc(10px + 1.2em);
    width: max-content !important;
    height: fit-content !important;
    border-radius: 4px !important;
}

.wpml-ls-item-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 140px;
    height: 42px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #D7D0C3;
    border-radius: 10px;
    color: #2D5544;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s ease;
    box-sizing: border-box;
}

.wpml-ls-item-toggle:hover {
    background: #2D5544;
    border-color: #2D5544;
    color: #fff;
}

.wpml-ls-item-toggle::after {
    content: "▾";
    margin-left: auto;
    font-size: 12px;
    transition: .25s;
}

.wpml-ls-item:hover .wpml-ls-item-toggle::after,
.wpml-ls-item-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Flag */

.wpml-ls-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

/* Dropdown */

.wpml-ls-sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 180px;
    background: #fff;
    border: 1px solid #D7D0C3;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s ease;
    z-index: 999;
}

.wpml-ls-item:hover > .wpml-ls-sub-menu,
.wpml-ls-item:focus-within > .wpml-ls-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Items */

.wpml-ls-sub-menu li {
    margin: 0;
}

.wpml-ls-sub-menu a {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px;
    border-radius: 0px;
    text-decoration: none;
    color: #2D5544;
    font-size: 13px;
    font-weight: 500;
    transition: .2s;
    border-width: 0 0 1px 0 !important;
}

.wpml-ls-sub-menu a:hover {
    background: #2D5544;
    color: #fff !important;
}

/* Scroll */

.wpml-ls-sub-menu {
    max-height: 260px;
    overflow-y: auto;
}

.wpml-ls-sub-menu::-webkit-scrollbar {
    width: 4px;
}

.wpml-ls-sub-menu::-webkit-scrollbar-thumb {
    background: #D7D0C3;
    border-radius: 20px;
}

/* Mobile */

@media (max-width:768px) {
    .wpml-ls-item-toggle {
        width: 125px;
        height: 38px;
        font-size: 13px;
    }

    .wpml-ls-sub-menu {
        width: 165px;
    }
}

/* ===== ROOMIFY INSTANT THANK YOU PAGE STYLES ===== */

body.roomify-thankyou-page {
    background: #f4f0e8;
}

body.roomify-thankyou-page header {
    background: #2b2b2b;
}

.roomify-cartflows-thankyou-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 120px 0 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou {
    --wcf-primary-color: #315543;
    --wcf-heading-text-color: #2b2b2b;
    --wcf-text-color: #2b2b2b;
    --wcf-btn-bg-color: #315543;
    --wcf-btn-bg-hover-color: #264435;
    --wcf-button-tx-color: #fff;
    --wcf-instant-thankyou-left-side-bg-color: #fff;
    --wcf-instant-thankyou-right-side-bg-color: #f4f0e8;
    --wcf-section-border-color: #e5e5e5;
}

body.roomify-thankyou-page.cartflows-instant-checkout #wcf-instant-thankyou {
    background-color: transparent !important;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container {
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 0;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-left-column {
    justify-content: flex-end;
    block-size: auto;
    min-height: 0;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou #order-address {
    padding-top: 2.5rem;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-ty-product-details {
    padding-top: 2.5rem;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-status__left-icon .wcf-ic-status__icon-svg {
    color: #315543;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-status__left h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    color: #2b2b2b;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-status__left p {
    color: #6b6b6b;
    font-size: 13px;
    margin-bottom: 4px;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-button {
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s, opacity 0.3s;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-button:hover {
    background-color: var(--wcf-btn-bg-hover-color);
    opacity: 1;
}

body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container h2.woocommerce-order-status,
body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-heading {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
}

body.roomify-thankyou-page .wcf-ic-cart-order-item__info-name,
body.roomify-thankyou-page .wcf-ic-cart-order-item__price,
body.roomify-thankyou-page .wcf-ic-cart-totals__label,
body.roomify-thankyou-page .wcf-ic-cart-totals__value,
body.roomify-thankyou-page .wcf-ic-cart-totals__label span,
body.roomify-thankyou-page .wcf-ic-cart-totals__value span {
    color: #2b2b2b !important;
}

body.roomify-thankyou-page .wcf-ic-cart-totals {
    align-items: flex-start;
}

body.roomify-thankyou-page .wcf-ic-cart-totals__label {
    flex: 0 0 auto;
}

body.roomify-thankyou-page .wcf-ic-cart-totals__value {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

body.roomify-thankyou-page .wcf-ic-cart-totals--shipping .wcf-ic-cart-totals__value span {
    display: inline-block;
    max-width: 100%;
    text-align: right;
}

body.roomify-thankyou-page .wcf-ic-cart-totals--shipping .shipped_via {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b6b6b !important;
    text-align: right;
}

body.roomify-thankyou-page .wcf-ic-cart-totals--shipping .tax_label {
    font-size: 12px;
    color: #6b6b6b !important;
}

body.roomify-thankyou-page .wcf-ic-cart-totals--order_total .wcf-ic-cart-totals__value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

body.roomify-thankyou-page .wcf-ic-cart-totals__currency-badge {
    display: none;
}

@media (max-width: 768px) {
    .roomify-cartflows-thankyou-page {
        padding-top: 90px;
    }

    body.roomify-thankyou-page.cartflows-instant-checkout .wcf-instant-thankyou .wcf-ic-layout-container .wcf-ic-status__left h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {

  .woocommerce-checkout .instant-checkout-order-review-table {
    width: 100% !important;
    display: block !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table tbody,
  .woocommerce-checkout .instant-checkout-order-review-table tfoot,
  .woocommerce-checkout .instant-checkout-order-review-table tr {
    display: block !important;
    width: 100% !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table .cart_item {
    padding: 16px !important;
    margin-bottom: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
  }

.woocommerce-checkout .instant-checkout-order-review-table .cart_item > * {
    padding: 0 !important;
}

  .woocommerce-checkout .instant-checkout-order-review-table td,
  .woocommerce-checkout .instant-checkout-order-review-table th {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border: 0 !important;
    padding: 8px 0 !important;
    text-align: left !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table .product-name {
    display: block !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table .wcf-product-image {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table .wcf-product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table .product-total {
    margin-top: 0px !important;
    display: flex !important;
    justify-content: flex-start !important;
    font-weight: 600 !important;
	color: #2f5d50;
  }

  .woocommerce-checkout .instant-checkout-order-review-table tfoot tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: start !important;
    padding: 10px 0 !important;
    border-top: 1px solid #e5e5e5 !important;
	flex-direction: column;
  }

.woocommerce-checkout .instant-checkout-order-review-table tfoot th {
    font-size: 14px !important;
    margin: 0 0 4px !important;
    font-weight: 600 !important;
    color: #2f5d50 !important;
    text-transform: uppercase;
}

  .woocommerce-checkout .instant-checkout-order-review-table tfoot th,
  .woocommerce-checkout .instant-checkout-order-review-table tfoot td {
    padding: 0 !important;
    display: block !important;
    width: auto !important;
  }

  .woocommerce-checkout .instant-checkout-order-review-table .tax_label,
  .woocommerce-checkout .instant-checkout-order-review-table .includes_tax {
    display: block !important;
    font-size: 12px !important;
    margin-top: 4px !important;
  }

}