* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    color: #304656;
    min-width: 280px;
}

.container {
    width: 90%;
    margin: 0 auto;
}

.center-main-title {
    display: flex;
    justify-content: center;
}

.main-title {
    color: #304656;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    /* text-transform: uppercase; */
    text-align: left;
}

.sub-content-title {
    margin: 2.8rem 0 6.6rem;
}

.section-path {
    position: relative;
    margin-top: 7rem;
}


/* Menu */

.block-header .left-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

.block-header {
    background: #fff;
    border: 1px solid #e7e7e7;
    top: 0;
    padding: 0.5rem 0;
    -webkit-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 9;
}

.block-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

.block-header .logo {
    height: 3.5rem;
    width: auto;
}

.block-header .block-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.block-header .block-menu .or {
    padding: 0 12px;
    font-size: 1rem;
}

.block-header .block-menu a {
    color: #304656;
    text-decoration: none;
    position: relative;
    font-size: 1rem;
    padding: 0 4px;
}

.block-header .block-menu a:hover,
.block-header .block-menu a:active,
.block-header .block-menu a.active {
    color: #e5a82b;
    cursor: pointer;
}

.block-header .block-menu .mail, .block-header .block-menu .chat {
    display: flex;
    flex-direction: row;
}

.block-header .block-menu .chat {
    padding: 8px;
    border: 1px solid #304656;
    border-radius: 4px;
}

.block-header .block-menu .chat:hover {
    color: #e5a82b;
    border: 1px solid #e5a82b;
    cursor: pointer;
}

.block-header .block-menu .mail span, .block-header .block-menu .chat span {
    padding: 0 4px;
    font-size: 1rem;
}

/* Main content */
.section-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.section-body .link-product {
    background: #fafafa;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 240px;
    height: calc(100vh - 14rem - 20px);
    overflow-y: auto;
}

.block-main-content {
    flex: 1;
    margin-left: 270px;
    min-height: calc(100vh - 11rem - 26px);
}

.section-body .link-product .item {
    display: flex;
    flex-direction: row;
    padding: .5rem;
}

.section-body .link-product .item a {
    text-decoration: none;
    color: #304656;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}

.section-body .link-product .item a img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    object-fit: cover;
}

.section-body .link-product .item a:hover {
    cursor: pointer;
    color: #e5a82b;
}

.section-body .link-product .item span {
    padding-right: 12px;
    font-size: 1rem;
}

.section-body .link-product .item img {
    width: 100%;
    height: auto;
}


/* Benefits */
.section-benefit .block-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 1px solid #e7e7e7;
    /* background: #fafafa; */
    border-radius: 8px;
    padding: 8px;
}

.section-benefit .block-content .fas {
    color: #e5a82b;
    font-size: 2rem;
}

.section-benefit .item-benefit {
    padding: 12px 24px;
    flex: 1;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    align-items: center;
    border-right: 1px solid #e7e7e7;
    justify-content: center;
}

.section-benefit .item-benefit:last-child {
    border-right: 0;
}

.section-benefit .item-benefit .block-text {
    padding-left: 24px;
}

.section-benefit .item-benefit .title-benefit {
    font-size: 1rem;
    padding-bottom: 8px;
}

.section-benefit .item-benefit .content-benefit {
    font-size: 0.9rem;
    line-height: 120%;
}


/* Product */
.section-product {
    margin-top: 3rem;
}

.section-product .block-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.section-product .product-item {
    display: flex;
    align-items: center;
    width: 20%;
}

.section-product .product-item .product-item-content {
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin: .6rem;
    width: 100%;
    display: flex;
}

.section-product .product-item img {
    width: 100%;
    height: 5rem;
    padding: 1rem;
    object-fit: contain;
}

.section-product .block-content .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content: space-between;
    padding-bottom: 16px;
}

.section-product .product-item .product-item-content:hover {
    transition: transform .2s, -webkit-transform .2s;
    box-shadow: 0 0 8px rgba(230, 230, 230, 0.5);
    transform: translateY(calc(-2px));
    cursor: pointer;
}

/* Popup */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.popup-overlay {
    background-color: #000;
    opacity: .8;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    z-index: 10;
    display: none;
}

.popup-order {
    position: fixed;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0 auto;
    width: 60vw;
    max-height: 100vh;
    z-index: 11;
    background-color: #fff;
    border-radius: 12px;
    display: none;
    overflow: hidden;
}

.popup-order .popup-content {
    position: relative;
    padding: 3rem 4rem;
}

.popup-order .popup-scroll {
    overflow-y: auto;
    max-height: 70vh;
    padding: 5px 0;
}

.popup-order .popup-close {
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

.popup-order .product-step {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.popup-order .product-step .step-item {
    position: relative;
    margin-right: 50px;
    margin-left: 10px;
}

.popup-order .product-step .step-item ::after {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #A4A4A4;
    left: -40px;
    display: block;
    content: '';
    top: 50%;
    animation: .5 ease-in-out;
}

.popup-order .product-step .step-item.active ::after {
    background-color: #E5A82B;
}

.popup-order .product-step .step-item:first-child ::after {
    width: 0;
}

.popup-order .product-step .step-item .step-number {
    background-color: #A4A4A4;
    padding: 4px 10px;
    border-radius: 50%;
    color: #fff;
    font-size: .9rem;
    margin-right: 5px;
}

.popup-order .product-step .step-item.active .step-number {
    background-color: #E5A82B;
}

.popup-order .product-step .step-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #A4A4A4;
}

.popup-order .product-step .step-item.active .step-label {
    color: #304656;
}

.popup-order .product-header {
    text-align: center;
}

.popup-order .product-header img {
    max-height: 40px;
}

.popup-order .product-desc {
    padding: 1rem;
    background-color: #FAFAFA;
    text-align: center;
    line-height: 1.4;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: 1rem;
}

.popup-order .product-sub-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 20px;
}

.popup-order .product-sub-item .sub-item {
    margin: 5px;
}


.sub-item .sub-item-content {
    border: 1px solid #304656;
    padding: 1.2rem;
    border-radius: 8px;
}

.sub-item .sub-item-content .sub-header {
    font-weight: 700;
    color: #304656;
}

.sub-item .sub-item-content .sub-price {
    font-weight: 700;
    color: #E5A82B;
    font-size: 1.6rem;
    margin: .5rem 0;
}

.sub-item .sub-item-content .sub-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #E7E7E7;
    margin-top: 5px;
    width: 100%;
}

.sub-item .sub-item-content .sub-input input {
    padding: .5rem;
    text-align: center;
    border: 0;
    outline: 0;
    width: inherit;
}

.sub-item .sub-item-content .sub-input .btn-updown {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.sub-item .sub-item-content .sub-input .up {
    border-left: 1px solid #E7E7E7;
}

.sub-item .sub-item-content .sub-input .down {
    border-right: 1px solid #E7E7E7;
    ;
}

.sub-item .sub-item-content .sub-button {
    margin-top: 1rem;
}

.sub-item .sub-item-content .sub-button input {
    display: none;
}

.sub-item .sub-item-content .sub-button label {
    position: relative;
    border: 1px solid #304656;
    border-radius: 4px;
    display: flex;
    padding: .6rem .8rem;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    cursor: pointer;
    padding-left: 40px;
}

.sub-item .sub-item-content .sub-button label:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    border: 1px solid #304656;
    border-radius: 50%;
    margin-right: 80px;
    text-align: center;
}

.sub-item .sub-item-content .sub-button input:checked+label {
    background-color: #37C071;
    border-color: #37C071;
    color: #fff;
    padding-left: 40px;
}

.sub-item .sub-item-content .sub-button input:checked+label:before {
    border-color: #fff;
    content: "✓";
    margin-right: 100px;
}

.popup-order .product-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.popup-order .product-footer a {
    border: 1px solid #304656;
    padding: .5rem 0;
    color: #304656;
    border-radius: 4px;
    margin-right: 32px;
    text-decoration: none;
    width: 200px;
    text-align: center;
}

.popup-order .product-footer a.btn-next, .popup-order .product-footer a.btn-submit {
    background-color: #304656;
    color: #fff;
}

.popup-order .product-footer a.btn-next:hover, .popup-order .product-footer a.btn-submit:hover {
    opacity: .8;
}

.popup-order .product-footer a:last-child {
    margin-right: 0;
}

.btn-updown.disabled {
    background-color: #EDEDED;
}

.popup-scroll h3 {
    color: #304656;
    margin: 10px 0 5px 0;
    font-size: 1rem;
}

.popup-scroll .header-title {
    margin-top: 1.5rem;
    margin-bottom: 20px;
}

.sub-item .sub-item-content .sub-button input:checked+label {
    background-color: #37C071;
    border-color: #37C071;
    color: #fff;
    padding-left: 40px;
}

.list-pay {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.list-pay .pay-item {
    width: 16%;
}

.list-pay .pay-item input {
    display: none;
}

.list-pay .pay-item input+label {
    display: inline-block;
    position: relative;
}

.list-pay .pay-item input+label img {
    width: 100%;
}

.list-pay .pay-item input+label:hover {
    transition: transform .2s, -webkit-transform .2s;
    box-shadow: 0 0 8px rgba(230, 230, 230, 0.5);
    transform: translateY(calc(-2px));
    cursor: pointer;
}

.list-pay .pay-item .pay-content {
    padding: 5px 10px;
    display: flex;
    justify-content: center;
}

.list-pay .pay-item .pay-content input:checked+label::before {
    border: 1px solid #37C071;
    padding: 5px;
    width: 10px;
    height: 10px;
    background-color: #37C071;
    content: "✓";
    border-radius: 50%;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.pay-detail {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pay-detail .pay-detail-item {
    width: 100%;
    padding: 0;
}

.pay-detail .pay-detail-item .pay-detail-label {
    font-size: 1rem;
    margin-top: 1.5rem;
}

.pay-detail .pay-detail-item input {
    border: 1px solid #E7E7E7;
    padding: 8px 10px;
    border-radius: 4px;
    width: 100%;
}

.popup-success {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 55vh;
}

.alert-lager {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.alert-small {
    font-size: 1rem;
    font-weight: 500;
}

.popup-order .product-footer a.disabled {
    background-color: #A4A4A4;
}

.pay-capcha {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.g-recaptcha>div {
    max-width: 100%;
}

/* Ẩn lỗi capcha */
/* .grecaptcha-badge {
    display: none;
} */




/* Footer */
.section-footer {
    background: #fff;
    border-top: 1px solid #e7e7e7;
}

.section-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.section-footer .img-paymentfooter {
    width: 60px;
    height: auto;
    margin: 0 5px;
}

.section-footer .img-paymentfooter a {
    text-decoration: none;
}

.text-copyright {
    text-align: center;
    margin-top: 10px;
}