/*===== ACCOUNT ============================================*/
.layout-account {
    padding: 35px 0 40px;
}

.layout-account .wrapbox-heading-account {
    padding: 40px 0 20px;
}

.layout-account .header-page h1 {
    position: relative;
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    margin: 0px 0;
    line-height: initial;
}

.layout-account .header-page h1:after {
    content: "";
    background: #000;
    display: block;
    width: 60px;
    height: 4px;
    margin: 20px auto;
}

.layout-account .tab-form-account {
    margin-bottom: 45px;
}

.layout-account .tab-form-account h4 {
    padding: 0px 30px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    margin: 0;
}

.layout-account .tab-form-account h4+h4 {
    border-left: 2px solid gray;
}

.layout-account .tab-form-account h4 a {
    color: #cacaca;
}

.layout-account .tab-form-account h4.active a {
    color: #000;
}

.layout-account .tab-form-account h4:hover a {
    color: #000;
}

.customers_accountForm {
    max-width: 620px;
    margin: 35px auto 10px;
    background: #ffffff;
    padding: 25px 30px 30px;
}

.customers_accountForm .header-page {
    margin-bottom: 10px;
}

.customers_accountForm .accounttype h2 {
    font-size: 20px;
    margin: 0 0 20px;
    font-weight: 600;
}

.customers_accountForm .large_form {
    margin-bottom: 25px;
}

.customers_accountForm .large_form.large_form-mrb {
    margin-bottom: 5px;
}

.customers_accountForm .icon-field {
    display: none;
}

.customers_accountForm input[type=email],
.customers_accountForm input[type=password],
.customers_accountForm input[type=text] {
    width: 100%;
    height: 55px;
    padding: 5px 20px;
    color: #5c5c5c;
    font-weight: 500;
    border: 1px solid transparent;
    background: #ededed;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.customers_accountForm input[type=email]:focus,
.customers_accountForm input[type=password]:focus,
.customers_accountForm input[type=text]:focus {
    background: #fff;
    border-color: #ededed;
}

.customers_accountForm .req_pass {
    padding-left: 30px;
}

.customers_accountForm .req_pass p {
    margin: 0;
}

.customers_accountForm .custommer_account_action {
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-justify-content: center;
    justify-content: center;
}

.customers_accountForm .custommer_account_action .action_bottom,
.customers_accountForm .custommer_account_action .req_pass a {
    color: #009dde;
}

.customers_accountForm .action_bottom {
    padding: 0;
    border-radius: 4px;
}

.customers_accountForm .action_bottom .btn {
    display: inline-block;
    border-radius: 0;
    padding: 0 35px;
    height: 45px;
    line-height: 45px;
    text-transform: uppercase;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    border: 0;
    color: #fff;
    font-size: 14px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.customers_accountForm .errors {
    margin-bottom: 10px;
}

.customers_accountForm .errors a {
    text-decoration: underline;
}

.customers_accountForm .come-back {
    margin: 30px 0;
    display: block;
    font-weight: 500;
}

.customers_accountForm .come-back i {
    margin-right: 20px
}

.customers_accountForm .create-password {
    margin: 10px 0;
}

@-moz-keyframes ripple ripple {

    5%,
    100% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }
}

@-webkit-keyframes ripple {

    5%,
    100% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }
}

@keyframes ripple ripple {

    5%,
    100% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }
}

#field-gender input[type="radio"] {
    display: none;
}

#field-gender input[type="radio"]+label {
    position: relative;
    cursor: pointer;
    padding-left: 28px;
    margin: 0 20px 0 0;
}

#field-gender input[type="radio"]+label:before,
input[type="radio"]+label:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#field-gender input[type="radio"]+label:before {
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: #323232;
    -moz-box-shadow: inset 0 0 0 18px #efefef;
    -webkit-box-shadow: inset 0 0 0 18px #efefef;
    box-shadow: inset 0 0 0 18px #efefef;
}

#field-gender input[type="radio"]+label:after {
    top: 49%;
    left: 9px;
    width: 54px;
    height: 54px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.3);
    -moz-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
}

#field-gender input[type="radio"]:checked+label:before {
    -moz-box-shadow: inset 0 0 0 4px #efefef;
    -webkit-box-shadow: inset 0 0 0 4px #efefef;
    box-shadow: inset 0 0 0 4px #efefef;
}

#field-gender input[type="radio"]:checked+label:after {
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    -moz-animation: ripple 1s none;
    -webkit-animation: ripple 1s none;
    animation: ripple 1s none;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0;
}

.ui-datepicker .ui-datepicker-title select {
    margin: 0 2px;
}

div.ui-datepicker-header a.ui-datepicker-prev,
div.ui-datepicker-header a.ui-datepicker-next {
    display: none;
}

/* address */
.customer_address .input-group {
    margin: 15px 0px;
    position: relative;
    display: table;
    width: 100%;
    border-collapse: separate;
}

.customer_address .input-group .input-ico {
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 0;
    color: #DAD9D9;
    background-color: #ebebeb;
}

.customer_address .input-group .input-textbox {
    margin-left: 35px;
    width: calc(100% - 35px);
    height: 34px;
    padding: 5px 15px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    border: 1px solid #ebebeb;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.customer_address .input-group input[type=checkbox] {
    display: inline-block;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.customer_address .action_bottom .btn {
    height: 35px;
    line-height: 35px;
    margin-right: 5px;
    font-size: 14px;
    padding: 0 30px;
    border: 0;
    background: #323232;
    color: #fff;
    display: inline-block;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    outline: 0;
}

.wrap_editAddress .address_title {
    margin-bottom: 0;
    font-size: 16px;
    padding: 14px 65px 14px 10px;
    background-color: #d9edf7;
    border-color: #bce8f1;
    position: relative;
}

.wrap_editAddress .address_title h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.wrap_editAddress .address_title .address_actions {
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.wrap_editAddress .address_title .address_actions .action_link {
    vertical-align: middle;
    display: inline-block;
    height: 100%;
    line-height: 100%;
    width: 30px;
    padding: 14px 0;
    text-align: center;
}

.wrap_editAddress .address_table {
    margin-bottom: 15px;
    border-top: 0px solid #ddd;
    background: #fbfbfb;
    padding: 5px 15px 15px;
}

.wrap_editAddress .address_table .view_address .large_view {
    margin-bottom: 8px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
}

.wrap_editAddress .address_table .view_address .large_view .lb-left {
    width: 35%;
    padding-right: 10px;
}

.wrap_editAddress .address_table .view_address .large_view .lb-right {
    width: 65%;
}

.wrap_editAddress .address_table .view_address .large_view b {
    font-weight: 700;
}

.wrap_addAddress {
    margin-bottom: 30px;
}

.wrap_addAddress .add_address_table {
    padding: 5px 15px 15px;
    background: #fbfbfb;
}

.wrap_addAddress .add-new-address {
    display: inline-block;
    padding: 10px;
    background: #323232;
    color: #fff !important;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    text-align: center;
    font-weight: 600;
}

.wrap_addAddress .add-new-address:focus {
    color: #fff;
}

/* account ++ order  */
.customers-wrapper {
    border-radius: 2px;
}

.customers-header {
    margin-bottom: 25px;
}

.customers-header h1 {
    position: relative;
    font-size: 25px;
    font-weight: 700;
    margin: 0px 0;
    line-height: 1.3;
    border-left: 4px solid var(--shop-color-main);
    padding-left: 20px;
}

.customers-details .title-detail {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    border-bottom: 1px solid #ededed;
    padding-bottom: 8px;
}

.customers-details__wrap {
    padding: 25px 20px;
}

.customers-details__profile,
.customers-details__orders {
    padding: 0 20px;
    margin-bottom: 30px;
}

.customers-details__profile p {
    margin-bottom: 3px;
}

.customers-details__profile .p_name {
    font-weight: 500;
    font-size: 16px;
    ;
    margin: 0 0 5px;
}

.customers-details__profile .p_link {
    font-weight: 500;
    text-decoration: underline;
    margin: 5px 0 15px;
    color: var(--shop-color-hover);
}

.customers-details__orders .order_name {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.customers-details__orders .order_date {
    display: block;
    font-weight: normal;
    font-size: 14px;
    text-transform: none;
    margin: 5px 0 0;
}

.customers-details__orders .order_cancelled {
    margin-bottom: 15px;
}

.customers-details__orders .order_cancelled h4 {
    margin: 0;
}

.customers-details__orders .order_backhome {
    opacity: 0.7;
}

.customers-details__tables {
    margin-bottom: 30px;
}

.customer-table-wrap {
    background: #d9edf7;
    padding: 8px 10px;
}

.customer-table-wrap .customer-table-bg {
    background: #fff;
    padding: 10px;
}

.customer-table-wrap .title-detail {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    border-bottom: 1px solid #ededed;
    padding-bottom: 8px;
}

.table-responsive-overflow {
    position: relative;
    overflow: hidden;
}

.table-responsive-overflow .table-responsive {
    border: 0;
}

.table-responsive-overflow .table-responsive table tr td,
.table-responsive-overflow .table-responsive table thead th {
    white-space: nowrap;
}

table.table-customers {
    width: 100%;
    background: #fff;
}

table.table-customers thead th {
    font-weight: 600;
    font-size: 14px;
}

table.table-customers thead th,
table.table-customers tr td {
    vertical-align: middle;
    border-top: none;
    font-size: 14px;
    padding: 10px 8px;
}

table.table-customers tr.line-order td.name a {
    color: #333333;
    font-size: 13.5px;
    white-space: normal;
    display: block;
    min-width: 18rem;
}

table.table-customers tr.line-order td.name a:hover,
table.table-customers tr.line-order td.name a:focus {
    color: #d93a10;
}

table.table-customers tr.line-order td.order-image {
    width: 70px;
}

table.table-customers tr.line-order td.order-image a {
    display: block;
    width: 60px;
    border: 1px solid #f7f7f7;
}

table.table-customers.table-customers-summary tr:hover {
    background: #fbfbfb;
}

table.table-customers tr.line-order td.name span.variant_acc {
    font-size: 13px;
    opacity: 0.8;
}

.customer-table-wrap+.customer-status-order {
    margin-top: 20px;
}

.customer-status-order .order_section_title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0;
    padding: 10px 0px;
    position: relative;
    text-transform: uppercase;
}

.customer-status-order .alert-info {
    border-radius: 0;
    margin-bottom: 0;
    color: #31708f;
    padding: 12px;
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
}

.customer-status-order .alert-info .text_status {
    font-weight: 500;
}

.customer-status-order .box-address {
    margin: 0px 0px 20px;
    padding: 10px;
    background-color: #fbfbfb;
}

.customer-status-order .box-address p {
    margin-bottom: 5px;
}

.customer-status-order .box-address p.adressName {
    font-weight: 600;
}

.wrap-table-ordership {
    border-top: 1px solid #ededed;
    padding-top: 10px
}

.sidebox-account {
    padding: 25px 20px;
    background: #f6f6f6;
    height: 100%;
}

.sidebox-account .sidebox-account--title {
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.sidebox-account .account-navlist>li>a {
    display: block;
    position: relative;
    font-size: 15px;
    padding: 5px 0px;
    color: #333333;
}

.sidebox-account .account-navlist>li>a:before {
    content: "\f192";
    font-family: "FontAwesome";
    font-size: 8px;
    display: inline-block;
    margin-right: 10px;
    margin-left: 5px;
    vertical-align: 2px;
}

.sidebox-account .account-navlist>li>a:hover,
.sidebox-account .account-navlist>li>a:focus {
    color: #d93a10;
}

@media(max-width: 767px) {
    .layout-account {
        padding-top: 0px;
    }

    .customers_accountForm {
        background: #ffffff;
        padding: 20px 0;
        margin: 0;
    }

    .wrapbox-content-account {
        padding: 20px 0;
        margin: 0;
    }

    .customers_accountForm .req_pass {
        padding-left: 0;
        padding-top: 15px;
    }

    .customers_accountForm .custommer_account_action .action_bottom {
        width: 100%;
    }

    .customers-wrapper {
        background: transparent;
        box-shadow: none;
    }

    .customers-header h1 {
        font-size: 22px;
        padding-left: 12px;
    }

    .customers-sidebar {
        -ms-flex-order: 2;
        order: 2;
    }

    .customers-details {
        -ms-flex-order: 1;
        order: 1;
        padding-left: 0;
        padding-right: 0;
    }

    .customers-details__wrap {
        padding: 35px 15px 10px;
        background: #ffffff;
        margin-bottom: 15px;
        border-radius: 0px;
    }

    .sidebox-account {
        padding: 20px 20px;
    }
}

/* LOYALTY Membership Card  */
.layoutAccount-hidden {
    visibility: hidden;
}

.layoutAccount-hidden.account-visible {
    visibility: visible;
}

.sidebox-account--member,
.sidebox-account .link-member {
    display: none;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sidebox-account--member.js-visible,
.sidebox-account .link-member.js-visible {
    display: block;
    visibility: visible;
}

.sidebox-account {
    &--member {
        margin-bottom: 30px;
    }

    .member-avartar span {
        display: block;
        width: 95px;
        height: 95px;
        line-height: 90px;
        overflow: hidden;
        border-radius: 50%;
        margin: auto;
        text-align: center;
        color: #ffffff;
        font-size: 46px;
        font-weight: 700;
        text-transform: uppercase;
        border: 4px solid #FFFFFF;
        box-shadow: 0px 8px 28px -6px rgba(24, 39, 75, 0.12), 0px 18px 88px -4px rgba(24, 39, 75, 0.14);
    }

    .member-points {
        font-size: 16px;
        font-weight: 700;
        border: 1px solid #ffffff;
        background: #ffe8c9;
        margin: 0px 0;
        border-radius: 8px;
        padding: 12px 20px;
        text-align: center;
    }

    .member-name {
        font-size: 16px;
        margin: 14px 0 10px;
        text-align: center;
    }
}

.customers-details__membership {
    margin-bottom: 0px;
    padding: 25px 20px;
}

.customers-details__membership.lowlight {
    background: #f6f6f6;
    border: 1px solid #f5f5f5;
    border-top: 0;
    border-radius: 0 0 4px 4px;
}

.customers-details__membership .membership-link {
    font-weight: 500;
    margin: 20px 0 0px;
}

.customers-details__membership .membership-link a {
    text-decoration: underline;
    color: var(--shop-color-hover);
}

.customers-details__membership .membership-label {
    padding-left: 5px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.membership-card {
    background-color: #8e765b;
    position: relative;
    box-sizing: border-box;
    border-radius: 9px;
    overflow: hidden;
    margin-top: 8px;
    max-width: 400px;

    &--content {
        position: relative;
        padding: 12px 15px 0px;
        color: #ffffff;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .card-name {
        margin: 0 0 4px;
        font-size: 16px;
        font-weight: 700;
    }

    .card-phone {
        margin: 0;
        font-size: 14px;
        display: block;
    }

    .card-phone svg {
        width: 18px;
        margin-right: 5px;
        fill: currentColor;
        margin-top: -3px;
    }

    .card-point {
        font-size: 12px;
        color: #d3d3d3;
    }

    .card-point .point-val {
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
        display: block;
    }

    .card-progress {
        margin-top: auto;
        padding: 40px 0 14px;

        .point-val {
            margin: 0 0 8px;
        }

        .point-bar {
            height: 5px;
            border-radius: 5px;
            width: 100%;
            background: #eeeeee;
        }

        .point-bar .percent {
            background: var(--shop-color-main);
            border-radius: 4px;
            height: 100%;
            width: 0;
            transition: width 0.4s ease 0.2s;
        }

        .point-need {
            color: #d3d3d3;
            font-size: 13px;
            margin-top: 8px;
        }

        .point-need strong {
            color: #ffffff;
            font-size: 14px;
        }
    }

    .card-view {
        cursor: pointer;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.4);
        margin: 0 -15px;
        padding: 5px 15px;
        font-size: 13px;
        -ms-display: flex;
        display: flex;
        -ms-justify-content: space-between;
        justify-content: space-between;

        svg {
            flex: 0 0 auto;
            width: 7px;
            fill: currentColor;
            opacity: 0.6;
        }
    }
}

.membership-other {
    margin-top: 20px;

    p {
        margin: 0 0 2px
    }

    p strong {
        font-weight: 700;
        font-size: 16px;
    }
}

.membership-offer {
    .offer-item {
        margin-bottom: 15px;
        display: -ms-flexbox;
        display: flex;
    }

    .offer-icon {
        -ms-flex-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 32px;
        padding-top: 2px;
    }

    .offer-text {
        font-size: 15px;
        -ms-flex-flex: 0 0 auto;
        flex: 0 0 auto;
        width: calc(100% - 32px);
        -ms-align-self: center;
        align-self: center;
        padding-left: 14px;
    }

    .offer-text p {
        margin: 0;
    }

    @media(max-width: 767px) {
        & {
            margin-top: 20px;
        }
    }
}

.hrlyt-coupons {
    &-list {}

    &-item {
        margin-bottom: 30px;

        .coupons__inner {
            position: relative;
            display: -ms-flexbox;
            display: flex;
            height: 100%;
            padding: 0px;
            background-color: #fef1f3;
            border: 0.5px solid #fecfd5;
            border-radius: 8px;
        }

        .coupons__img {
            -ms-flex: 0 0 auto;
            flex: 0 0 auto;
            width: 120px;
            padding: 12px;
            position: relative;
            border-right: 1px dashed var(--shop-color-border);

            &:before,
            &:after {
                content: "";
                position: absolute;
                width: 20px;
                height: 10px;
                right: -10px;
                background: #ffffff;
                border: 0.5px solid #fecfd5;
            }

            &:before {
                top: -1px;
                border-top: 0;
                border-bottom-left-radius: 20px;
                border-bottom-right-radius: 20px;
            }

            &:after {
                bottom: -1px;
                border-bottom: 0;
                border-top-left-radius: 20px;
                border-top-right-radius: 20px;
            }

            img {
                border-radius: 6px;
            }

            svg {
                width: 100%;
            }
        }

        .coupons__info {
            padding: 10px 15px 6px 18px;
            -ms-flex: 0 0 auto;
            flex: 0 0 auto;
            width: calc(100% - 120px);
            -ms-align-self: center;
            align-self: center;

            .cpi-lbel {
                margin-bottom: 6px;
                display: none;

                span {
                    margin: 0;
                    line-height: 1.2;
                    color: #ffffff;
                    background-color: #c9060c;
                    font-size: 10px;
                    padding: 2px 12px;
                    border-radius: 0 8px;
                    display: inline-block;
                }
            }

            .cpi-title {
                color: #f51c43;
                font-size: 16px;
                font-weight: 700;
                margin: 0 0 0px;
                line-height: 1.3;
            }

            .cpi-name {
                margin: 0 0 4px;
            }

            .cpi-getcode {
                border: 0;
                outline: none;
                font-weight: 700;
                min-width: 90px;
                color: #ffffff;
                background: #f51c43;
                font-size: 12px;
                padding: 2px 7px;
                border-radius: 20px;
                letter-spacing: -0.2px;

                &.disabled {
                    pointer-events: none;
                    opacity: 0.6;
                }
            }

            .cpi-mdlview {
                border: 0;
                outline: none;
                font-weight: 700;
                color: #f51c43;
                background: rgba(254, 73, 96, 0.1);
                font-size: 12px;
                padding: 2px 10px;
                border-radius: 20px;
                letter-spacing: -0.2px;
            }

            .cpi-under {
                color: #757575;
                font-size: 12px;
                margin-top: auto;
                padding-top: 10px;
                display: -ms-flexbox;
                display: flex;
                -ms-justify-content: space-between;
                justify-content: space-between;
                -ms-align-items: center;
                align-items: center;

                &--l {
                    -ms-flex: 1 1 auto;
                    flex: 1 1 auto;
                    width: 1%;
                    padding-right: 5px;
                }

                label {
                    margin: 0;
                }

                strong {
                    color: #000000;
                }
            }

            .cpi-mdltooltip {
                position: absolute;
                right: 0;
                top: 0;
                padding: 5px 6px;
                cursor: pointer;
                border: 0;
                background: transparent;

                svg {
                    width: 20px;
                    height: 20px;
                    fill: #282828;
                    display: block;
                }
            }

            .cpi-mdltooltip+.cpi-title {
                padding-right: 20px;
            }
        }

        &.clone {
            display: none;
            visibility: hidden;
        }

        &.coupons-reward {
            .coupons__img {
                width: 110px;
            }

            .coupons__info {
                width: calc(100% - 110px);
            }

            .coupons__info .cpi-title {
                color: var(--shop-color-text);
                margin-bottom: 4px;
            }

            .coupons__info .cpi-point {
                margin: 0;
                line-height: 1.2;

                strong {
                    font-size: 20px;
                    color: #f51c43;
                }
            }

            .coupons__info .cpi-under {
                padding-top: 12px;
            }
        }
    }

    &-more {
        .btn-viewpage {
            border: 1px solid #ebebeb;
            padding: 12px 30px;
            outline: none;
            background: #fff;
            border-radius: 2px;
            text-transform: uppercase;
        }
    }

    @media(max-width: 767px) {
        &-item {
            .coupons__img {
                padding: 10px;
            }

            .coupons__info {
                padding: 10px 12px 6px 15px;

                .cpi-name {
                    display: none;
                }
            }

        }
    }
}

.customers-maintabs .hrloyalty-tabsNav {
    border-bottom: 1px solid #ebebeb;

    .nav-list {
        border-bottom: 0;
    }

    .nav-item {
        margin-bottom: 0px;
        padding: 0 4px;
    }

    .nav-link {
        font-size: 15px;
        font-weight: 700;
        color: var(--shop-color-text);
        background: #f6f6f6;
        border: 0;
        border-radius: 0;
        padding: 12px 25px;
        text-transform: uppercase;
        position: relative;
        background-color: transparent;
        outline: none;
        display: block;
        width: 100%;

        &:after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--shop-color-main);
            ;
            -webkit-transform: scale3d(0, 1, 1);
            transform: scale3d(0, 1, 1);
            -webkit-transform-origin: center left;
            transform-origin: center left;
            -webkit-transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
            transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        }
    }

    .nav-link.active {
        color: var(--shop-color-main);
        background-color: #fff;
        border-color: #ebebeb #ebebeb #fff;
    }

    .nav-link.active:after {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

    @media(max-width: 767px) {
        & {
            position: relative;
            overflow: hidden;
            margin: 0 -15px;
        }

        .nav-list {
            padding: 0 12px 15px;
            margin-bottom: -15px;
            -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
            text-align: center;
            white-space: nowrap;
            overflow-y: hidden;
            overflow-x: scroll;
            -webkit-overflow-scrolling: touch;
        }

        .nav-link {
            font-size: 14px;
            padding: 12px 10px;
        }
    }
}

.modal.mdlCustomer-cards {
    .mdlcards-detail {
        position: relative;
        background-color: transparent;
        border: 0;
        margin-top: 35px;

        .close-modal {
            padding: 0;
            margin: 0;
            opacity: 1;
            width: 25px;
            height: 25px;
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid #ffffff;
            border-radius: 50%;
            position: absolute;
            right: 0px;
            top: -35px;
            z-index: 6;
            outline: none;
            text-align: center;

            svg {
                height: 100%;
                width: 14px;
                stroke: #ffffff;
                display: block;
                margin: auto;
            }
        }

        &__body {
            padding: 0px;
            ;
            border: 0;
            border-radius: 16px 16px 0 0;
        }
    }

    .mdlcards-block {
        &--header {
            padding: 0 20px 0px;
            border-radius: 16px 16px 0 0;
            position: relative;
            overflow: hidden;
            z-index: 1;
            color: var(--shop-color-title);

            &:before {
                content: "";
                z-index: -1;
                position: absolute;
                top: 35px;
                left: 0;
                right: 0;
                bottom: 0;
                background: #f43e47;
                border-radius: 16px 16px 0 0;
            }

            p {
                margin: 0;
            }

            .mdlcards--hlight {
                text-align: center;
                background-color: #fef1f3;
                border: 1px solid #fecfd5;
                padding: 15px 15px 30px;
                border-radius: 8px;
            }

            .mdlcards--curved {
                position: absolute;
                bottom: 0px;
                left: 0;
                right: 0;
                color: #ffffff;
                z-index: 1;
                -ms-transform: rotate(180deg);
                transform: rotate(180deg);
                background: transparent;

                svg {
                    margin-top: -2px;
                    fill: currentColor;
                    width: 100%;
                    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.09));
                }
            }

            .mdl-coupon--img {
                margin-bottom: 8px;

                svg {
                    width: 70px;
                }

                img {
                    max-width: 70px
                }
            }

            .mdl-coupon--title {
                font-size: 18px;
                font-weight: 600;
                margin: 0;
            }
        }

        &--body {
            background: #ffffff;
            padding: 15px 20px 10px;
            margin-top: -1px;

            .mdl-coupon--text {
                padding: 10px 5px;

                p {
                    margin: 0;
                }

                &.text-flex {
                    display: -ms-flexbox;
                    display: flex;
                    -ms-flex-align: center;
                    align-items: center
                }

                &.text-flex>.text-lb {
                    -ms-flex: 0 0 auto;
                    flex: 0 0 auto;
                    width: 42%;
                }

                &.text-flex>.text-vl {
                    -ms-flex: 0 0 auto;
                    flex: 0 0 auto;
                    width: 58%;
                }

                .text-lb {
                    margin: 0;
                    font-size: 13px;
                    color: #757575;
                }

                .text-vl {
                    margin: 0;
                    font-size: 14px;
                    font-weight: 700;
                }

                .text-point {
                    font-size: 20px;
                    color: #f51c43;
                }

                .text-desc {
                    margin-top: 2px
                }

                .cta-copy {
                    border: 0;
                    background: #e4f2ff;
                    width: 24px;
                    height: 24px;
                    display: inline-block;
                    vertical-align: middle;
                    margin-left: 8px;
                    border-radius: 50%;
                    outline: none;

                    svg {
                        width: 10px;
                        height: 100%;
                    }
                }
            }

            .mdl-coupon--text+.mdl-coupon--text {
                border-top: 1px solid #ebebeb;
            }

            .mdl-coupon--ctas {
                padding: 15px 0 10px;

                .cta-modal {
                    display: block;
                    width: 100%;
                    border: 0;
                    padding: 10px 15px;
                    background: #ef4343;
                    border-radius: 5px;
                    color: #ffffff;
                    text-transform: uppercase;
                }

            }
        }
    }

    @media(min-width:768px) {
        .modal-dialog {
            max-width: 400px;
        }
    }

    @media(max-width:991px) and (min-width: 768px) {}

    @media(max-width:767px) {
        & {
            overflow: initial;
        }

        .modal-dialog {
            margin: 0 auto;
            max-width: 100%;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: auto;
            min-height: auto;
            max-height: calc(100% - 50px);
            background: transparent;
            -webkit-transform: translateY(100%);
            transform: translateY(100%);
            transition: transform 0.3s ease;
            border-radius: 0;
            -ms-flex-direction: column;
            flex-direction: column;
            -ms-flex-pack: center;
            justify-content: center;

            &:before {
                display: none
            }
        }

        .modal-content {
            height: 100%;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-direction: column;
            flex-direction: column;
        }

        &.fade:not(.show) {
            transition-delay: 0.15s;
        }

        &.fade.show {
            transition-delay: 0s;
        }

        &.fade.show .modal-dialog {
            -webkit-transform: translateY(0);
            transform: translateY(0);
            -webkit-transition-duration: 0.4s;
            transition-duration: 0.4s;
        }

        .mdlcards-detail {
            pointer-events: none;
            margin-top: 0;
            overflow: hidden;

            .close-modal {
                position: relative;
                right: 0px;
                top: 0;
                margin: 8px 14px;
                display: block;
                -ms-align-self: flex-end;
                align-self: flex-end;
            }

            &__body {
                pointer-events: auto;
                padding: 0;
                overflow-x: hidden;
                overflow-y: auto;
            }
        }
    }
}

.swal-modal {
    &.swal-loyalty-info {
        padding: 30px 25px;
        width: 100%;
        max-width: 360px;

        .swal-content {
            margin: 0;
            padding: 0;
            font-size: 18px;
            text-align: center;

            p {
                margin: 0;
            }

            strong {
                color: #f51c43;
            }
        }

        .swal-footer {
            text-align: center;
            padding: 0;
            margin: 20px 0 0;
            display: -ms-flexbox;
            display: flex;

            .swal-button-container {
                margin: 7px 0 0;
                padding: 0 7px;
                flex: 1 1 auto;
                max-width: 50%;
            }

            .swal-button-container .swal-button {
                display: block;
                width: 100%;
                height: 100%;
                padding: 10px 10px;
            }

            .swal-button-container .swal-button--cancel {
                border: 1px solid #dfdfdf;
                background-color: #dfdfdf;
                color: #000000;
            }

            .swal-button-container .swal-button--confirm {
                border: 1px solid #ef4343;
                background-color: #ef4343;
                color: #ffffff;
            }
        }
    }

    &.swal-loyalty-success,
    &.swal-loyalty-error {
        padding: 30px 25px;
        width: 100%;
        max-width: 260px;

        .swal-icon {
            margin-top: 0;
        }
    }
}

/* Setting màu cover màu sắc */

@media(max-width: 767px) {
    .customers-details__membership {
        padding: 20px 0px;
    }

    .customers-details__membership.lowlight {
        padding: 0 0 10px;
        background: transparent;
        border: 0;
    }

    .customers-details__membership.lowlight .membership-left {
        padding: 18px 15px;
        background: #f6f6f6;
        border: 1px solid #f5f5f5;
    }
}

/* Error & Success States */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.input-error {
    border-color: #dc3545 !important;
}

.input-success {
    border-color: #28a745 !important;
}