@charset "utf-8";
/* CSS Document */

html {
    background: #f5f5f5;
}

body {
    overflow: hidden;
    height: 100%;
    /* TEST STYLE - Remove after confirming CSS loads */
}

.logo-img {
    width: 130px;
}

.error-msg-container {
    width: 80%;
    margin: 0 auto;
    background: #ffe4e4;
    padding: 0px 5px;
}

.error-list-icon.mdl-list .mdl-list__item {
    padding: 2px 8px;
    color: #f44336 !important;
    min-height: 28px;
    font-size: 14px;
}

    .error-list-icon.mdl-list .mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon {
        margin-right: 5px;
        color: #f44336 !important;
        font-size: 18px;
    }

.mdl-layout__header {
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12)
}

.mdl-layout__header {
    display: block !important;
}

/*
.headline{
	
	margin: 0 auto;
	width: 500px;
}*/

.headline {
    width: 500px;
    position: absolute;
    margin-left: -250px;
    left: 50%;
    text-align: center;
    display: flex;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    align-items: center;
    justify-content: center;
}

.sub {
    font-size: 20px;
}

.page-content {
    max-width: 800px;
    margin: 0px auto 0px;
}

.inner-cell {
    margin: 3px 0px;
}

.inner-grid {
    padding: 0px;
}

.rows {
    margin-bottom: 30px;
}

.content-headline {
    margin: 0px;
    float: left;
}

.payment-type {
    float: left;
    display: inline-block;
}

.rbtnrow {
    margin: 8px 0px;
}

#paymentTypeDiv {
    float: left;
    display: inline-block;
}

.mdl-card {
    width: 100%;
    /* position: unset;*/
}


@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
    @media {
        .mdl-card {
            position: unset;
        }
    }
}

@media not all and (min-resolution:.001dpcm) {
    @media {
        .mdl-card {
            position: unset;
        }
    }
}

.progress-img {
    width: 100%;
}

.page-width {
    width: 100%;
    box-sizing: border-box;
}

.page-width-2 {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 45px;
}

.margin-adjust {
    margin: 10px auto;
}

.screenshot {
    margin: 0 auto;
    width: 550px;
    display: block;
}

.order-button {
    background: #34ad07 !important;
    color: #ffffff !important;
    width: 60%;
    font-size: 22px;
    height: 45px;
}

.receipt-button {
    background: #34ad07;
    color: #fff;
    margin: 0px auto;
    border: 0;
    border-radius: 3px;
    padding: .7em 3em;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
    /* float: right; */
    position: relative;
}

.mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon {
    margin-right: 10px;
}

.mdl-list__item {
    padding: 2px 8px;
}

.header {
    height: 50px;
    min-height: 50px;
    background: #3e92d7;
    z-index: 1;
}

.mdl-layout__header-row {
    height: 50px;
    position: relative;
}

a {
    color: #1365bb;
}

.mdl-icon-style {
    top: 5px;
    color: #333;
}

    .mdl-icon-style i {
        font-size: 21px;
        color: #333;
    }

.seals-img {
    float: right;
}

.bottom-btns-2 {
    text-align: right;
}

.footer {
    margin: 30px auto;
    text-align: center;
}

.nothanks-btn {
    font-size: 13px;
    line-height: 15px;
    text-align: left;
    height: 45px;
}

.right-col {
    float: right;
}

.arrow {
    position: absolute;
    top: 12px;
    right: 15px;
}

.currency-dd {
    width: 80px;
    font-size: 24px;
    /* padding: 0px; */
    text-transform: none;
    text-align: left;
    border-radius: 2px;
    float: left;
    font-weight: 400;
    padding: 0px 5px;
    color: #757575;
}

    .currency-dd:hover {
        border-radius: 2px;
    }

.mdl-button--icon .material-icons {
    left: initial;
    margin-left: 10px;
}

.mdl-cell.mdl-cell--5-col.inner-cell {
    width: calc(45% - 16px);
}

div#paypalDetailsEnteredDiv {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

    div#paypalDetailsEnteredDiv label {
        line-height: 30px;
    }


.change-button {
    background: #34ad07;
    color: #fff;
    margin: 10px auto 0px auto;
    border: 0;
    border-radius: 3px;
    padding: 1em 3em;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
    padding: .5em 1em;
}

    .change-button:hover {
        background: #2c9306;
    }


.small-label {
    font-size: 12px;
    margin-top: -15px;
    display: block;
}

#row {
    width: 250px;
    margin: 10px auto;
}

.col {
    float: left;
}

.videodiv {
    width: 100%;
    margin-bottom: 30px;
    display: block;
    border: 1px solid #ccc;
}

/*table*/
table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 50px;
}

td {
    text-align: center;
    padding: 8px;
}

/*error*/
.error-msg-container {
    width: 80%;
    margin: 0 auto;
    background: #ffe4e4;
    padding: 0px 5px;
}


.error-list-icon.mdl-list .mdl-list__item {
    padding: 2px 8px;
    color: #f44336 !important;
    min-height: 28px;
    font-size: 14px;
}

    .error-list-icon.mdl-list .mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon {
        margin-right: 5px;
        color: #f44336 !important;
        font-size: 18px;
    }

.column1 {
    float: left;
    width: 50%;
}

/*gift section*/

#divGift {
    margin: 10px 0px 20px;
}

#divGiftOptions {
    background: #eef6fd;
    display: block;
    width: 100%;
    height: auto;
    float: left;
    padding: 20px 30px;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 20px 0px 0px;
}

/*--------------------
GENERAL brain tree
--------------------*/

h1 {
    font-size: 1.5em;
    font-weight: 100;
    color: #FFF;
}

#cardForm {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none !important;
}


/*--------------------
PANEL FORM
--------------------*/

.panel {
    background: #FFF;
    width: 90%;
    /*box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);*/
}

.panel__header {
    background: #3F51B5;
    color: #FFF;
}

.panel__header,
.panel__footer {
    padding: 1em 2em;
}



.panel__content {
    padding: 1em 2em 0em;
    overflow: hidden;
}

.textfield--float-label {
    width: 48%;
    float: left;
    display: inline-block;
}


    .textfield--float-label.noUsers {
        margin-top: 15px;
    }


.rowSubscriptionInfo {
    height: 90px;
}

.textfield--float-label-full {
    width: 100%;
    float: left;
    display: inline-block;
}

.hosted-field--label {
    transform: translateY(0.4em);
    font-size: 16px;
    ;
    line-height: 32px;
    transition: all .15s ease-out;
    display: block;
    width: 100%;
    font-weight: 400;
    overflow: hidden;
    margin-bottom: 0.5em;
}

.textfield--float-label.total-bill {
    /* background: #f5f5f5; */
    height: 100%;
    padding: 10px;
    width: 52% !important;
    box-sizing: border-box;
    /* margin: 10px; */
    position: relative;
}

    .textfield--float-label.total-bill label {
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 75px;
        font-weight: bold;
        font-size: 20px;
        width: 100%;
    }

.total-bill .rowInfo {
    text-align: left;
    font-size: 16px;
}

.rowInfo span {
    float: right;
}

/*
.total-bill #amount{
	text-align: center;
	margin-top: 10px;
	font-weight: bold;
    font-size: 28px;
}
*/

.total-bill #wrap {
    background: #f5f5f5;
    height: auto;
    padding: 10px 12px 7px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0px;
    left: 10px;
    right: 0px;
}

.total-bill p {
    font-size: 12px;
    line-height: 16px;
    padding-top: 5px;
    margin-bottom: 0px;
}

span.icon {
    position: relative;
    top: 0 em;
    margin-right: 0.2em;
}

svg {
    fill: #333;
}

.hosted-field {
    height: 32px;
    margin-bottom: 1em;
    display: block;
    background-color: transparent;
    color: rgba(0, 0, 0, .87);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .26);
    outline: 0;
    width: 100%;
    font-size: 16px;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    font-family: verdana, sans-serif !important;
}

.non-hosted-field {
    height: 32px;
    margin-bottom: 1em;
    display: block;
    background-color: transparent;
    color: rgba(0, 0, 0, .87);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .26);
    outline: 0;
    width: 100%;
    font-size: 16px;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    font-family: verdana, sans-serif;
    font-weight: lighter;
    color: black;
    outline-offset: unset;
    outline: none;
}

    .non-hosted-field:focus {
        color: black;
        /*border-bottom: 2px solid #3F51B5;
    transition: all 200ms ease;*/
    }

    .non-hosted-field:valid {
        color: black;
    }

    .non-hosted-field:invalid {
        color: black;
        /*border-bottom: 2px solid #E91E63;
    transition: all 200ms ease;*/
    }

.pay-button {
    background: #34ad07;
    color: #fff;
    margin: 0 auto 20px auto;
    border: 0;
    border-radius: 3px;
    padding: 1em 3em;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
    float: right;
    position: relative;
}

    .pay-button:hover {
        background: #2c9306;
    }

    .pay-button:disabled {
        background-color: rgba(0,0,0,.12);
        color: rgba(0,0,0,.26);
        box-shadow: none;
        cursor: default;
    }

/*--------------------
BT HOSTED FIELDS SPECIFIC 
--------------------*/

.braintree-hosted-fields-focused {
    border-bottom: 2px solid #3e92d7;
    transition: all 200ms ease;
}

.braintree-hosted-fields-invalid {
    border-bottom: 2px solid #E91E63;
    transition: all 200ms ease;
}

/*--------------------
APPLEPAY BUTTON
--------------------*/

@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button-with-text {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
        -apple-pay-button-type: buy;
        width: 240px;
        height: 40px;
    }

        .apple-pay-button-with-text > * {
            display: none;
        }

    .apple-pay-button-black-with-text {
        -apple-pay-button-style: black;
    }

    .apple-pay-button-white-with-text {
        -apple-pay-button-style: white;
    }

    .apple-pay-button-white-with-line-with-text {
        -apple-pay-button-style: white-outline;
    }
}

@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button-with-text {
        --apple-pay-scale: 1; /* (height / 32) */
        display: inline-flex;
        justify-content: center;
        font-size: 12px;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        width: 240px;
        height: 40px;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }

    .apple-pay-button-black-with-text {
        background-color: black;
        color: white;
    }

    .apple-pay-button-white-with-text {
        background-color: white;
        color: black;
    }

    .apple-pay-button-white-with-line-with-text {
        background-color: white;
        color: black;
        border: .5px solid black;
    }

    .apple-pay-button-with-text.apple-pay-button-black-with-text > .logo {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }

    .apple-pay-button-with-text.apple-pay-button-white-with-text > .logo {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }

    .apple-pay-button-with-text.apple-pay-button-white-with-line-with-text > .logo {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }

    .apple-pay-button-with-text > .text {
        font-family: -apple-system;
        font-size: calc(1em * var(--apple-pay-scale));
        font-weight: 300;
        align-self: center;
        margin-right: calc(2px * var(--apple-pay-scale));
    }

    .apple-pay-button-with-text > .logo {
        width: calc(35px * var(--scale));
        height: 100%;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 0 50%;
        margin-left: calc(2px * var(--apple-pay-scale));
        border: none;
    }
}


/* vip upsell */

#show-dialog {
    background: #65a0f8 !important;
    color: white !important;
    padding: 0px 30px;
    border-radius: 5px;
    /* line-height: 35px; */
    margin: 30px auto;
    display: block;
    font-size: 20px;
    height: 50px;
}



.mdl-button.close {
    background: transparent !important;
    font-size: 25px;
    float: right;
    padding: 0px;
    min-width: 40px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    align-items: center;
    /*justify-content: center;*/
}



@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE fix */
    .modal {
        position: -ms-page;
    }
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    height: 80%;
}



    .modal-content iframe {
        height: 95%;
    }

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/*---------------------
Media Queries
----------------------*/
@media (max-width: 1100px) {
    .headline {
        width: 350px;
        margin-left: -175px;
        font-size: 20px;
    }
}

@media (max-width: 840px) {
    .bottom-btns-2 {
        text-align: center;
    }

    .order-button {
        height: initial;
    }


    .right-col {
        float: left;
    }

    .screenshot {
        width: 100%;
    }
}


@media (max-width: 800px) {

    .seals-img {
        /* float: right; */
        margin: 20px auto 0px;
        width: 251px;
        display: block;
        float: none;
    }

    .pay-button {
        width: 100%;
    }

    .headline {
        font-size: 20px;
    }

    .mdl-layout__header-row {
        padding: 0 16px 0 20px;
    }

    .logo-img {
        width: 80px;
    }

    .column1 {
        width: 100%;
    }

    .g-recaptcha {
        margin-top: -20px;
        margin-bottom: 10px;
    }

    .textfield--float-label {
        width: 100% !important;
    }

        .textfield--float-label.noUsers {
            margin-top: 0px;
        }

        .textfield--float-label.total-bill {
            width: 100% !important;
        }

    .total-bill #wrap {
        position: relative;
        left: unset;
    }

    .textfield--float-label.total-bill {
        height: auto;
    }
}

@media (max-width: 650px) {
    #paymentTypeDiv {
        width: 100%;
        padding-left: 0px;
    }

    .panel__content {
        padding: 1em 0em 0em;
        overflow: hidden;
    }

    .headline {
        font-size: 15px;
        line-height: 18px;
        left: 130px;
        margin-left: 0;
        width: 250px;
        text-align: left;
        justify-content: left;
    }
}

@media (max-width: 600px) {
    html {
        overflow: auto;
    }

    #cardForm {
        height: auto;
        margin: 2em;
        font-size: 13px;
    }

    .panel {
        width: 100%;
    }

    .panel__content .textfield--float-label {
        width: 100% !important;
        /* float: none;*/
        display: inline-block;
        padding: 0px;
        margin-bottom: 10px;
    }

    .total-bill p {
        font-size: 11px;
        line-height: 16px;
    }

    /*.total-bill #wrap{
            height: 90px;
        }*/

    .pay-button {
        width: 100%;
    }

    .arrow {
        top: 10px;
    }
}


@media (max-width: 500px) {

    .total-bill .rowInfo {
        font-size: 14px;
    }

    /*.total-bill #wrap {
            height: 130px;
        }*/
}


/* vip upsell responsive css */
@media (max-width: 839px) and (min-width: 480px) {
    .mdl-grid.benefits .mdl-cell.mdl-cell--4-col {
        width: 100% !important;
    }
}

/* Order3 Page Specific Improvements */

/* Override the default #cardForm flexbox layout for Order3 */
.order3-page #cardForm {
    height: auto !important;
    display: block !important;
    justify-content: initial !important;
    align-items: initial !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove frames and create clean white background */
.order3-page {
    background: #fff !important;
}

    .order3-page html {
        background: #fff !important;
    }

    .order3-page .mdl-layout__content {
        background: #fff !important;
    }

    .order3-page .page-content {
        background: #fff !important;
        max-width: 1400px !important; /* Much wider for better two-column layout */
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Ensure all elements use border-box sizing to prevent overflow */
    .order3-page *,
    .order3-page *::before,
    .order3-page *::after {
        box-sizing: border-box !important;
    }

    .order3-page .mdl-grid {
        background: #fff !important;
    }

    .order3-page .mdl-cell {
        background: #fff !important;
    }

    /* Remove the main card frame - make it transparent */
    .order3-page .mdl-card.mdl-shadow--2dp:not(.order-details-card) {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Remove panel frames from form area */
    .order3-page .panel {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
    }

    .order3-page .panel__content {
        background: transparent !important;
        padding: 0px 0 !important;
    }

.orderDescription {
    margin-bottom: 16px;
}

.order3-page .order-detail-value.totalPrice {
    font-size: 20px !important;
    font-weight: bold;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    color: #1f2937 !important;
}

.order3-page .panel__footer {
    background: transparent !important;
    padding: 20px 0 !important;

}

    /* Force two-column layout at the form grid level */
    .order3-page .form-layout-grid {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
    }

        .order3-page .form-layout-grid > .mdl-cell {
            padding: 0 !important;
        }

            /* Left column (form) improvements - 8 columns = 66.66% */
            .order3-page .form-layout-grid > .mdl-cell.mdl-cell--8-col {
                flex: 0 0 66% !important;
                max-width: 100% !important;
                order: 1 !important;
                width: 100% !important;
            }

            /* Right column (Order Details) - 4 columns but make it 30% */
            .order3-page .form-layout-grid > .mdl-cell.mdl-cell--4-col {
                flex: 0 0 30% !important;
                max-width: 100% !important;
                order: 2 !important;
                width: 100% !important;
            }

    /* Additional targeting for the order details column specifically */
    .order3-page .mdl-cell.mdl-cell--4-col.order-details-column {
        flex: 0 0 30% !important;
        max-width: 100% !important;
        order: 1 !important;
        width: 100% !important;
    }

    /* Order Details Card - make it stand out and wider */
    .order3-page .order-details-card {
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06) !important;
        border: 1px solid #e5e7eb !important;
        position: sticky !important;
        top: 24px !important;
        height: fit-content !important;
        overflow: hidden !important;
        width: 100% !important;
    }

        .order3-page .order-details-card .mdl-card__title {
            background: #f9fafb !important;
            border-bottom: 1px solid #e5e7eb !important;
            padding: 20px 24px !important; /* Reduced bottom padding */
        }

        .order3-page .order-details-card .mdl-card__title-text {
            color: #1f2937 !important;
            font-size: 20px !important;
            display: flex !important;
            flex-direction: column !important;
            font-weight: bold;
        }

            /* Add product name as part of title */
            .order3-page .order-details-card .mdl-card__title-text::after {
                content: attr(data-product-name);
                display: none !important; /* Remove title because its redundant */
                font-size: 24px !important;
                margin-top: 8px !important;
                color: #1f2937 !important;
            }

    /* Hide the separate product name section */
    .order3-page .product-name-item {
        display: none !important;
    }

    .order3-page .order-details-content {
        padding: 24px !important;
        padding-bottom: 0 !important; /* Remove bottom padding in content area */
        width: auto !important;
    }

        .order3-page .order-detail-item:last-child {
            margin-bottom: 0 !important;
            border-bottom: none !important;
        }

    .order3-page .order-detail-total {
        border-top: 2px solid #e5e7eb !important;
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-bottom: none !important;
        background: #f9fafb !important;
        margin: 20px -24px 0 -24px !important;
        padding: 20px 24px !important;
        margin-bottom: 0 !important;
        border-radius: 0 0 12px 12px !important; /* Add bottom border radius to match card */
    }

    /* Ensure price values don't duplicate currency symbols */
    /* The duplicate symbols are likely coming from the server-side rendering */
    /* Add a CSS fix to detect and correct doubled symbols */
    .order3-page .order-detail-value:contains('$$') {
        /* We can't directly fix this with CSS alone, but we can target it with JS */
    }

    .order3-page .order-detail-label {
        font-size: 14px !important;
        color: #6b7280 !important;
        margin-bottom: 4px !important;
        font-weight: 500 !important;
    }

    .order3-page .order-detail-value {
        font-size: 16px !important;
        color: #1f2937 !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Product name special styling */
    .order3-page .product-name-item {
        text-align: center !important;
        border-bottom: 2px solid #e5e7eb !important;
        margin-bottom: 24px !important;
        padding-bottom: 20px !important;
        background: #f9fafb !important;
        margin: 0 -24px 24px -24px !important;
        padding: 20px 24px !important;
    }

        .order3-page .product-name-item .order-detail-value {
            font-size: 22px !important;
            color: #1f2937 !important;
            font-weight: 700 !important;
        }

    /* Hide red error box on Order3 page */
    .order3-page .error-msg-container {
        display: none !important;
    }

    /* Form field improvements - REDUCED SPACING */
    .order3-page .textfield--float-label,
    .order3-page .textfield--float-label-full {
        margin-bottom: 20px !important; /* Reduced spacing between fields */
    }

    .order3-page .hosted-field--label {
        color: #374151 !important;
        font-weight: 500 !important;
        margin-bottom: 12px !important; /* Increased from 8px to 12px for more space */
    }

    .order3-page .non-hosted-field,
    .order3-page .hosted-field {
        display: flex !important;
        align-items: center !important;
        line-height: normal !important;
        padding: 0 !important;
        height: 48px !important;
        border: 1px solid #d1d5db !important;
        border-radius: 6px !important;
        background-color: white !important;
    }

        .order3-page .non-hosted-field:focus,
        .order3-page .braintree-hosted-fields-focused {
            border-color: #3b82f6 !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
            border-bottom: 1px solid #3b82f6 !important;
        }

    .order3-page .braintree-hosted-fields-invalid {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
        border-bottom: 1px solid #ef4444 !important;
    }

    /* Payment button improvements */
    .order3-page .pay-button {
        background: #10b981 !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 16px 32px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
        transition: all 0.15s ease-in-out !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        float: none !important;
    }

        .order3-page .pay-button:hover:not(:disabled) {
            background: #059669 !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
        }

        .order3-page .pay-button:disabled {
            background: #d1d5db !important;
            color: #9ca3af !important;
            cursor: not-allowed !important;
            transform: none !important;
            box-shadow: none !important;
        }

    /* Content headline improvements */
    .order3-page .content-headline {
        color: #1f2937 !important;
        font-size: 24px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
    }

    /* Accordion Styles for Order3 - INCREASED SPACING */
    .order3-page .order3-accordion {
        margin-bottom: 32px; /* Increased from 24px to 32px for more space between accordions */
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        overflow: hidden;
        background: #fff;
    }

    .order3-page .accordion-item {
        border: none;
    }

    .order3-page .accordion-header {
        background: #f9fafb;
        border-bottom: 1px solid #e5e7eb;
        padding: 20px 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
        line-height: 1; /* Consistent line height */
    }

        .order3-page .accordion-header:hover {
            background: #f3f4f6;
        }

        .order3-page .accordion-header.expanded {
            background: #eff6ff;
            border-bottom-color: #3b82f6;
        }

    /* Fix icon and label alignment in accordion headers */
    .order3-page .accordion-title {
        display: flex;
        align-items: center; /* Change from flex-start to center for better vertical alignment */
    }

        /* Reset any existing properties that might cause misalignment */
        .order3-page .accordion-title .icon {
            position: relative; /* Add position relative for fine-tuning */
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            top: 0; /* Reset the top property that might be inherited */
        }

            /* Adjust the icon size and position precisely */
            .order3-page .accordion-title .icon i.material-icons {
                font-size: 24px; /* Keep consistent with text size */
                position: relative;
                top: 0; /* Fine-tune this value as needed */
                line-height: 1;
            }

        /* Match text with icon */
        .order3-page .accordion-title .accordion-text {
            font-size: 18px;
            font-weight: 600;
            margin-right: 16px;
            transform: none; /* Remove any transforms */
            line-height: 24px; /* Match the icon height */
            position: relative;
            top: 3px; /* Fine-tune this to match with icon */
        }

    .order3-page .accordion-description {
        font-size: 14px;
        color: #6b7280;
        margin-left: 12px;
        font-style: italic;
        display: none !important; /* Hide the "Please enter your information below" text */
    }

    .order3-page .accordion-arrow {
        color: #6b7280;
        transition: transform 0.3s ease;
        font-size: 24px;
    }

    .order3-page .accordion-header.expanded .accordion-arrow {
        color: #3b82f6;
    }

    .order3-page .accordion-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 !important;
        transition: max-height 0.3s ease, padding 0.3s ease;
        background: #fff;
    }

        .order3-page .accordion-content.active {
            max-height: 1000px;
            padding: 32px 24px !important; /* Increased top/bottom padding from 24px to 32px for more spacing inside accordion */
        }

    .order3-page .accordion-body {
        display: block;
    }

    /* Ensure form fields work properly inside accordion - REDUCED SPACING */
    .order3-page .accordion-content .textfield--float-label,
    .order3-page .accordion-content .textfield--float-label-full {
        margin-bottom: 0x !important; /* Reduced spacing between fields */
    }

    /* Reduce bottom margin for the last field (email) */
    .order3-page .accordion-content .textfield--float-label-full:last-of-type {
        margin-bottom: 8px !important; /* Minimal spacing for last field */
    }

    .order3-page .accordion-content .textfield--float-label {
        width: 47% !important; /* Slightly narrower to account for padding */
        margin-right: 6% !important; /* Slightly more space between side-by-side fields */
        margin-bottom: 0px !important;
    }

        .order3-page .accordion-content .textfield--float-label:nth-child(even) {
            margin-right: 0 !important;
        }

    /* Payment Method Styles */
    .order3-page .payment-methods {
        display: flex;
        flex-direction: column;
        gap: 20px; /* Increased from 16px to 20px for more space between payment methods */
    }

    .order3-page .payment-method-option {
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
        transition: all 0.3s ease;
        overflow: hidden;
    }

        .order3-page .payment-method-option:hover {
            border-color: #d1d5db;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .order3-page .payment-method-option.active {
            border-color: #3b82f6;
            box-shadow: 0 0 0 1px #3b82f6;
        }

    .order3-page .payment-method-header {
        padding: 16px 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        background: #fff;
        transition: background-color 0.2s ease;
    }

    .order3-page .payment-method-option.active .payment-method-header {
        background: #f0f9ff;
    }

    .order3-page .payment-method-header input[type="radio"] {
        margin-right: 12px;
        transform: scale(1.2);
    }

    .order3-page .payment-method-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
        margin: 0;
    }

    .order3-page .payment-method-title {
        font-size: 16px;
        font-weight: 600;
        color: #1f2937;
        position: relative;
        top: 3px;
    }

    .order3-page .payment-method-icons {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .order3-page .payment-method-icons img {
            height: 24px;
            width: auto;
        }

    .order3-page .payment-method-details {
        padding: 24px 20px; /* Increased from 20px to 24px for more internal padding */
        background: #f9fafb;
        border-top: 1px solid #e5e7eb;
    }

        .order3-page .payment-method-details.hidden {
            display: none !important;
        }

    /* Card Field Layouts - INCREASED SPACING */
    .order3-page .card-field-row {
        margin-bottom: 24px; /* Increased from 20px to 24px for more space between card field rows */
    }

        .order3-page .card-field-row.full-width {
            width: 100%;
        }

        .order3-page .card-field-row.split {
            display: flex;
            gap: 20px; /* Increased from 16px to 20px for more space between side-by-side fields */
        }

    .order3-page .card-field-half {
        flex: 1;
    }

    .order3-page .card-field-row .hosted-field--label {
        font-size: 14px;
        color: #374151;
        font-weight: 500;
        margin-bottom: 8px; /* Increased from 6px to 8px for more space below labels */
        display: block;
    }

    .order3-page .card-field-row .hosted-field {
        background: #fff;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 12px 16px; /* Equal left and right padding of 16px */
        font-size: 16px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        height: auto;
        min-height: 44px;
    }

        .order3-page .card-field-row .hosted-field.braintree-hosted-fields-focused {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .order3-page .card-field-row .hosted-field.braintree-hosted-fields-invalid {
            border-color: #ef4444;
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        }

    /* Payment Terms */
    .order3-page .payment-terms {
        margin-top: 20px; /* Increased from 16px to 20px for more space */
        padding: 20px 0px;
        border-top: 1px solid #e5e7eb;
    }

        .order3-page .payment-terms p {
            font-size: 12px;
            color: #6b7280;
            line-height: 1.4;
            margin: 0;
            text-align: center;
        }

    /* PayPal Details */
    .order3-page #paypal-button {
        margin: 20px auto; /* Increased from 16px to 20px for more space */
    }

    /* Payment Disabled Notice */
    .order3-page .payment-disabled-notice {
        display: block;
        padding: 8px 20px;
        font-size: 14px;
        color: #dc2626;
        background: #fef2f2;
        border-top: 1px solid #fecaca;
        margin: 0;
    }

    /* CC-only compact sizing (PayPal/Google Pay unaffected) - UPDATED WITH BETTER SPACING */
    .order3-page #ccOption .payment-method-details {
        padding: 20px 16px !important; /* Increased from 12px to 20px for more vertical space */
    }

    .order3-page #ccOption .card-field-row {
        margin-bottom: 20px !important; /* Increased from 12px to 20px for more space between rows */
    }

        .order3-page #ccOption .card-field-row.split {
            gap: 16px !important; /* Increased from 12px to 16px for more space between side-by-side fields */
        }

    .order3-page #ccOption .hosted-field--label {
        font-size: 13px !important;
        color: #6b7280 !important;
        margin-bottom: 6px !important; /* Increased from 4px to 6px for more space below labels */
        line-height: 1.2 !important;
    }

    .order3-page .field-hint {
        color: #6b7280 !important;
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    .order3-page #ccOption .card-field-row .hosted-field {
        min-height: 36px !important;
        height: 36px !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
    }

    /* Ensure the Braintree iframe follows the smaller container */
    .order3-page .hosted-field iframe {
        height: 48px !important;
        vertical-align: middle !important;
    }


/* Improve layout of the side-by-side fields */
.order3-page .accordion-content .textfield--float-label {
    width: 47% !important; /* Slightly narrower to account for padding */
    margin-right: 6% !important; /* Slightly more space between side-by-side fields */
}


/* Responsive design for Order3 two-column layout */
@media (max-width: 1200px) {
    .order3-page .page-content {
        max-width: 1200px !important;
    }

    .order3-page .form-layout-grid > .mdl-cell--8-col {
        flex: 0 0 62% !important;
        max-width: 62% !important;
    }

    .order3-page .form-layout-grid > .mdl-cell--4-col {
        flex: 0 0 34% !important;
        max-width: 34% !important;
    }
}

@media (max-width: 980px) {
    .order3-page #ccOption .card-field-row.split {
        flex-direction: column;
    }

    .mdl-layout__header-row {
        padding: 0px 26px !important;
    }

    .order3-page .accordion-content .textfield--float-label {
        width: 100% !important;
    }

    .orderDescription.currencyDesc {
        display: none !important;
    }
    .order3-page .form-layout-grid {
        flex-direction: column-reverse !important;
        gap: 20px !important;
    }

        .order3-page .form-layout-grid > .mdl-cell--8-col,
        .order3-page .form-layout-grid > .mdl-cell--4-col {
            flex: 1 1 100% !important;
            max-width: 100% !important;
            order: initial !important;
        }

        .order3-page .form-layout-grid > .mdl-cell--4-col {
            order: -1 !important; /* Show order details first on mobile */
        }

    .order3-page .order-details-card {
        position: relative !important;
        min-width: auto !important;
        top: 0px !important;
    }

    /* Reduce accordion padding on tablets */
    .order3-page .accordion-content.active {
        padding: 24px 20px !important;
    }

    /* Adjust payment method cards */
    .order3-page .payment-method-option {
        margin-bottom: 16px !important;
    }
}

/* Small tablets and landscape phones (iPad mini, etc.) */
@media (max-width: 900px) and (min-width: 769px) {
    .order3-page .page-content {
        padding: 20px !important;
    }

    /* Keep side-by-side fields */
    .order3-page .accordion-content .textfield--float-label {
        width: 48% !important;
        margin-right: 4% !important;
    }

    /* Comfortable spacing */
    .order3-page .accordion-content.active {
        padding: 24px 20px !important;
    }

    /* Touch-friendly headers */
    .order3-page .accordion-header {
        padding: 18px 20px !important;
    }

    /* Ensure payment buttons are well-sized */
    .order3-page .pay-button {
        padding: 16px 32px !important;
        font-size: 16px !important;
    }
}

/* Mobile optimizations (large phones and small tablets) */
@media (max-width: 768px) {
    /* Reduce overall page padding */
    .order3-page .page-content {
        padding: 16px !important;
    }

    /* Stack form fields vertically on mobile */
    .order3-page .accordion-content .textfield--float-label {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
    }

    /* Reduce accordion padding */
    .order3-page .accordion-content.active {
        padding: 20px 16px !important;
    }

    /* Make accordion headers more touch-friendly */
    .order3-page .accordion-header {
        padding: 18px 20px !important;
        font-size: 18px !important;
    }

    /* Adjust payment method cards */
    .order3-page .payment-method-header {
        padding: 16px !important;
    }

    .order3-page .payment-method-label {
        font-size: 16px !important;
    }

    /* Reduce card field spacing */
    .order3-page .card-field-row {
        margin-bottom: 16px !important;
    }

    /* Adjust order details */
    .order3-page .order-details-card {
        padding: 20px !important;
    }

    .order3-page .order-detail-item {
        padding: 14px 0 !important;
    }

    /* Make pay button full width */
    .order3-page .pay-button {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
    }
}

/* Modern smartphones (iPhone 14, 13, 12, Samsung Galaxy, etc.) */
@media (max-width: 430px) {
    /* Optimize padding for phones */
    .order3-page .page-content {
        padding: 12px !important;
    }

    /* Reduce accordion padding */
    .order3-page .accordion-content.active {
        padding: 16px 14px !important;
    }

    /* Touch-optimized accordion headers */
    .order3-page .accordion-header {
        padding: 16px 14px !important;
        font-size: 17px !important;
        min-height: 56px !important;
    }

    .order3-page .accordion-title {
        display: flex !important;
        align-items: center !important;
    }

    .order3-page .accordion-title .icon {
        font-size: 22px !important;
        margin-right: 10px !important;
    }

    .order3-page .accordion-title .accordion-text {
        font-size: 17px !important;
        font-weight: 500 !important;
    }

    /* Stack card fields vertically on phones */
    .order3-page .card-field-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    .order3-page .card-field-row .card-field {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 0 !important;
    }

    /* Optimize input field sizes */
    .order3-page .non-hosted-field,
    .order3-page .hosted-field {
        padding: 14px 16px !important;
        font-size: 16px !important; /* Prevent iOS zoom */
        border-radius: 6px !important;
        min-height: 48px !important;
    }

    /* Labels */
    .order3-page .hosted-field--label {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    /* Reduce field spacing */
    .order3-page .accordion-content .textfield--float-label,
    .order3-page .accordion-content .textfield--float-label-full {
        margin-bottom: 14px !important;
    }

    /* Email field specifically */
    .order3-page .accordion-content .textfield--float-label-full:last-of-type {
        margin-bottom: 6px !important;
    }

    /* Payment method cards */
    .order3-page .payment-method-option {
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    .order3-page .payment-method-header {
        padding: 16px !important;
        min-height: 60px !important;
    }

    .order3-page .payment-method-label {
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }

    .order3-page .payment-method-title {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .order3-page .payment-method-icons img {
        height: 24px !important;
    }

    /* Payment method details */
    .order3-page .payment-method-details {
        padding: 16px !important;
    }

    /* Order details card */
    .order3-page .order-details-card {
        padding: 16px !important;
        border-radius: 10px !important;
    }

    .order3-page .order-details-title {
        font-size: 20px !important;
        margin-bottom: 16px !important;
    }

    .order3-page .order-detail-item {
        padding: 12px 0 !important;
    }

    .order3-page .order-detail-label {
        font-size: 14px !important;
    }

    .order3-page .order-detail-value {
        font-size: 15px !important;
        font-weight: 500 !important;
    }

    .order3-page .order-total-price {
        font-size: 24px !important;
        font-weight: 600 !important;
    }

    /* Full-width pay button */
    .order3-page .pay-button {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        min-height: 56px !important;
    }

    /* Payment buttons (PayPal, Google Pay) */
    .order3-page #paypal-button,
    .order3-page #google-pay-button {
        width: 100% !important;
        max-width: 100% !important;
    }

    .order3-page .payment-method-details {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Security badges */
    .order3-page .payment-security-text {
        font-size: 13px !important;
        text-align: center !important;
    }
}

/* Extra small devices (iPhone SE, older small phones) */
@media (max-width: 375px) {
    /* Minimal padding for small screens */
    .order3-page .page-content {
        padding: 10px !important;
    }

    /* Compact accordion */
    .order3-page .accordion-header {
        padding: 14px 12px !important;
        font-size: 16px !important;
        min-height: 52px !important;
    }

    .order3-page .accordion-content.active {
        padding: 14px 12px !important;
    }

    .order3-page .accordion-title .accordion-text {
        font-size: 16px !important;
    }

    .order3-page .accordion-title .icon {
        font-size: 20px !important;
        margin-right: 8px !important;
    }

    /* Compact field spacing */
    .order3-page .accordion-content .textfield--float-label,
    .order3-page .accordion-content .textfield--float-label-full {
        margin-bottom: 12px !important;
    }

    /* Input fields */
    .order3-page .non-hosted-field,
    .order3-page .hosted-field {
        padding: 12px 14px !important;
        min-height: 44px !important;
    }

    /* Payment method cards */
    .order3-page .payment-method-header {
        padding: 14px 12px !important;
        min-height: 56px !important;
    }

    .order3-page .payment-method-title {
        font-size: 15px !important;
    }

    .order3-page .payment-method-icons img {
        height: 22px !important;
    }

    /* Order details */
    .order3-page .order-details-card {
        padding: 14px !important;
    }

    .order3-page .order-details-title {
        font-size: 18px !important;
    }

    .order3-page .order-detail-label {
        font-size: 13px !important;
    }

    .order3-page .order-detail-value {
        font-size: 14px !important;
    }

    .order3-page .order-total-price {
        font-size: 22px !important;
    }

    /* Pay button */
    .order3-page .pay-button {
        padding: 14px 20px !important;
        font-size: 16px !important;
        min-height: 52px !important;
    }
}

/* Animation for smooth accordion open/close */
.order3-page .accordion-content {
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Center Google Pay button like PayPal */
.order3-page #googlePayDetailsDiv:not(.hidden) {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0 !important;
    flex-direction: column !important;
}

    /* Ensure Google Pay button is centered when created dynamically */
    .order3-page #googlePayDetailsDiv:not(.hidden) > * {
        margin: 0 auto !important;
    }

/* Style the Google Pay button container similar to PayPal */
.order3-page .payment-method-details:not(.hidden) #googlePayDetailsDiv {
    width: 250px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Override any existing Google Pay button positioning */
.order3-page #googlePayDetailsDiv:not(.hidden) button,
.order3-page #googlePayDetailsDiv:not(.hidden) .google-pay-button,
.order3-page #google-pay-button {
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
}

hr {
    margin-top: 0px;
}

/* Improve textbox padding and layout within accordion */
.order3-page .accordion-content.active {
    padding: 32px 32px !important; /* Increase overall padding in the accordion content when active */
}

    .order3-page .accordion-content .textfield--float-label,
    .order3-page .accordion-content .textfield--float-label-full {
        margin-bottom: 0px !important; /* Reduced space between field groups */
        padding: 0 8px !important; /* Add horizontal padding to the field container */
        box-sizing: border-box !important;
    }

/* Adjust the input fields themselves */
.order3-page .non-hosted-field,
.order3-page .hosted-field {
    padding: 14px 16px !important; /* Increase padding inside textboxes */
    height: 48px !important; /* Set consistent height for all textboxes */
    box-sizing: border-box !important;
}



    .order3-page .accordion-content .textfield--float-label:nth-child(even) {
        margin-right: 0 !important;
    }

/* Ensure labels have proper spacing */
.order3-page .hosted-field--label {
    margin-bottom: 12px !important;
    padding-left: 0px !important; /* Small left padding for labels */
}

/* Override any potential conflicts with field width */
.order3-page .accordion-content .textfield--float-label-full {
    width: 100% !important;
    padding-right: 8px !important; /* Ensure right padding for full-width fields */
}


@media (max-width: 600px) {
    .order3-page .mdl-cell {
        margin-top: 0px;
    }
    .order3-page .content-headline {
        font-size: 20px !important;
    }

    .order3-page .order-detail-item:last-child {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .order3-page .order-detail-label.totalPriceLabel {
        margin-bottom: -2px !important;
    }
}

.footerContent {
    display: flex;
    flex-direction: row;
    gap: 0px;
    width: 100%;
    justify-content: space-between;
    margin-top: 40px;
}

.rightFooterContent {
    width: 100%;
}

p.style-guide-description {
    margin-bottom: 5px;
}

.leftFooterContent {
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 55%;
    align-self: flex-end;
    float: right;
    right: 0;
    position: relative;
}

.footerLink {
    width: auto;
    display: flex;
}

.footerLink-lists {
    justify-content: center;
    display: grid;
    list-style: none;
    margin-bottom: 10px;
    padding-left: 0px !important;
    text-align: left;
    grid-template-columns: 90px 1fr;
    width: auto;
}

.footerLink-item {
    color: #333333;
    text-decoration: underline;
    margin-bottom: 5px;
    width: auto;
}

.footerLink-item a {
    color: #333333;
}

@media (max-width: 767px) {
    .leftFooterContent {
        width: 100%
    }

    .footerLink-lists {
        grid-template-columns: 1fr 1fr 1fr;
        text-align: center;
    }

    .footerLink {
        align-self: center;    
    }
    .footerContent {
        flex-direction: column;
    }

    p.style-guide-description {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footerLink-lists {
        grid-template-columns:  1fr;
    }
}