@charset "UTF-8";

.order {
    width: 800px;
    max-width: 96%;
    margin: 2rem auto;
    box-shadow: 0 0 15px 2px #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem 0.8rem;
}

.order .title {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.order .title > i {
    font-size: 1.3rem;
}

.order .line {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.order .line > span:not(.line-title) {
    display: block;
    height: 2px;
    flex-grow: 1;
    background-color: var(--main_btn);
}

.order .line > .line-title {
    padding: 0 0.8rem;
    font-size: 1.2rem;
}

.order .product-package input[type="radio"] {
    display: none;
}

.order .product-package > div {
    margin: 0.5rem 0;
}

.order .product-package > div > label {
    display: flex;
    align-items: center;
    padding: 0.7rem;
    background-color: var(--product_package_bg);
    border: 2px solid var(--product_package_bd);
    border-radius: 0.5rem;
    min-height: 4.2rem;
}

.order .product-package > div > label > i {
    font-size: 1.4rem;
    color: var(--product_package_bd);
    padding: 0 0.5rem;
    font-weight: 600;
}

.order .product-package input[type="radio"]:checked + label > i {
    color: var(--main_btn);
}

.order .product-package input[type="radio"]:checked + label > i:before {
    content: "\e643";
}

.order .product-package input[type="radio"]:checked + label,
.sku-item-selected {
    background-color: var(--product_package_bg_checked) !important;
    border: 2px solid var(--main_btn) !important;
}

.order .product-package .package-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 10px;
    word-break: break-word;
}

.order .product-package .package-price {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.order .product-package .package-price .current-price {
    font-size: 1.2rem;
    color: var(--main_btn);
    margin-bottom: 0.3rem;
}

.order .product-package {
    padding-bottom: 0.5rem;
}

.package-content {
    padding: 0.5rem 0 1rem 0;
}

.package-content > div {
    display: none;
}

.sku > .title,
.sku > .title > span {
    font-size: 1.3rem;
    font-weight: 600;
}

.this-is-show {
    display: block !important;
}

.package-content > div > .sku:not(.sku:last-child) {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.package-content .type-name {
    padding: 0.5rem 0 0.7rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.sku-option-img {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 0.5rem;
    column-gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.sku-item {
    display: inline-block;
    border: 2px solid var(--product_package_bd);
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.sku-item-img {
    border: 2px solid var(--product_package_bd);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.sku-item-img > div {
    position: relative;
}

.sku-item-img > div > i.layui-icon-screen-full {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.sku-item-img > span {
    display: flex;
    padding: 0.5rem 0.3rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    word-break: break-word;
}

.buy-data {
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.buy-data-item {
    display: flex;
    align-items: center;
    padding: 0.4rem 1rem;
    flex-wrap: wrap;
}

.package-num {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.buy-data-item .package-name {
    width: 100%;
    font-size: 1.3rem;
}

.buy-data-item .package-name + .buy-content {
    padding-top: 0.8rem;
}

.buy-package {
    color: var(--main_btn);
}

.buy-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buy-package-type {
    font-size: 0.9rem;
    padding: 0 0.5rem;
    color: var(--main_btn);
}

.change-sku-btn > i {
    font-size: 1.2rem;
}

.change-sku-btn > i:hover {
    color: var(--main_btn);
}

.total-price {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem 0 1rem;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    align-items: flex-end;
}

.checked-package-price {
    color: var(--main_btn);
    font-size: 1.3rem;
}

.total-price > div:first-child > span {
    font-size: 1.2rem;
}

.submit-order-btn {
    text-align: center;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--product_package_bd);
    margin: 0.5rem 0;
    color: var(--main_btn_text);
    background-color: var(--main_btn);
}

.submit-order-btn:hover {
    opacity: 0.9;
}

.customer-information {
    padding: 1.5rem 0;
}

.information-item {
    border: 1px solid var(--main_btn);
    border-radius: 3px;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    height: 46px;
    margin-bottom: 10px;
    padding: 10px 0 10px 10px;
}

.information-item:not(:focus-within) {
    border: 1px solid var(--product_package_bd);
}

.information-item > span {
    position: relative;
    font-size: 16px;
    top: 0;
    transition: all 0.3s;
    white-space: nowrap;
    background-color: #fff;
}

.information-item input {
    all: unset;
    font-size: 14px;
    margin: 0 0 0 10px;
    transition: margin 0.3s;
    flex: 1;
    box-sizing: border-box;
    height: 46px;
    padding-right: 10px;
    width: Clamp(30px, 50%, 50%);
}

.information-item > input + span + div {
    opacity: 0;
    transition: opacity 0.3s;
    margin-right: 5px;
    position: absolute;
}

.information-item:focus-within > div:not(.search_data_box),
.information-item input:not(:placeholder-shown) + span + div {
    opacity: 1;
    position: relative;
}

.information-item select {
    border: none;
    background-color: transparent;
    flex: 1;
    box-sizing: border-box;
    height: 46px;
    margin-right: 10px;
    max-width: calc(100% - 10px);
    display: block;
}

input:focus, .information-item input:not(:placeholder-shown), input:focus + i + input {
    margin: 0px;
}

input:focus + span,
.information-item input:not(:placeholder-shown) + span,
input:focus + i + input + span {
    display: block;
    position: absolute;
    top: -10px;
    font-size: 14px;
    padding: 0px 3px;
    left: 7px;
    margin: 0;
}

input[name='expiry_month']:focus, input[name='expiry_month']:not(:placeholder-shown) {
    margin-left: 10px;
}

.coupon {
    margin-bottom: 20px;
}

.use-coupon {
    padding: 5px;
    border-left: 1px solid var(--product_package_bd);
    background-color: var(--main_btn);
    color: var(--main_btn_text);
    border-radius: 0 3px 3px 0;
    height: 46px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.coupon:focus-within > .use-coupon {
    border-color: var(--main_btn);
}

.linkage-selection-box, .delivery-box {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.linkage-selection-box > div {
    flex: 1;
    min-width: 49%;
}

.linkage-selection-box > div:nth-child(odd) + div {
    margin-left: 10px;
}

.delivery-box > .information-item {
    margin-right: 3px;
    transition: all 0.5s;
    justify-content: center;
    padding: 0 5px;
    flex: 1;
    min-height: 46px;
    max-width: 33%;
}

.delivery-box > .information-item:last-child {
    margin-right: 0;
}

.delivery-box input[type='radio'] {
    display: none;
}

.delivery-box .active {
    color: var(--main_btn_text);
    background-color: var(--main_btn);
}

.delivery-box label {
    border: none !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center !important;
    white-space: nowrap;
    width: 100%;
    height: 100%;
}

.payment {
    margin-top: 1.5rem;
}

.customer-information input[type='radio'] {
    display: none;
}

.customer-information input[type='radio'] + label > div > i:before {
    font-size: 1.5rem;
    color: #ccc;
}

.customer-information input[type='radio']:checked + label > div > i:before {
    content: "\e643";
    color: var(--main_btn);
}

.customer-information label {
    display: flex;
    flex: 1;
    /* font-size: 13px; */
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--product_package_bd);
}

.customer-information label:first-child {
    padding-top: 0;
}

.customer-information label > div {
    display: flex;
    align-items: center;
}

.customer-information label > div:first-child > span {
    line-height: 30px;
    margin-left: 10px;
    display: flex;
}

.customer-information label > div:first-child > span > img {
    margin: 0 0.3rem;
    min-width: 1.25rem;
}

.delivery label > div:last-child {
    flex-direction: column;
    font-size: 13px;
    align-items: flex-end;
    justify-content: center;
}

.delivery label > div:last-child > span:first-child {
    color: red;
    font-size: 14px;
}

.delivery label:last-child,
.payment label:last-child,
.payment label:last-of-type {
    border: none;
}

.payment input:last-of-type + label + div,
.payment input:last-of-type + label + div {
    margin-top: 15px;
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.payment input[name='payment'][value='7']:checked + label,
.payment input[name='payment'][value='8'] input:checked + label {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--product_package_bd);
}

.payment input[name='payment'][value='7']:checked + label + div,
.payment input[name='payment'][value='8']:checked + label + div {
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s;
}

/*搜索框*/
.search_data_box {
    background-color: #fff;
    max-height: 250px;
    box-shadow: 0px 2px 8px 2px #e7e7e7;
    padding: 10px;
    max-width: 100%;
    position: absolute;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pay_border);
    text-align: left;
}

.shadow_box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search_data_box:before {
    content: "";
    background-color: #fff;
    position: absolute;
    height: 10px;
    width: 10px;
    z-index: -1;

}

.search_data_box.bottom:before {
    top: -6px;
    left: 10px;
    box-shadow: -1px -1px 1px 0px #e7e7e7;
    transform: rotate(45deg);
    border-top: 1px solid var(--pay_border);
    border-left: 1px solid var(--pay_border);
    border-radius: 1px;
}

.search_data_box.top:before {
    bottom: -6px;
    left: 10px;
    box-shadow: 1px 1px 1px 0px #e7e7e7;
    transform: rotate(45deg);
    border-bottom: 1px solid var(--pay_border);
    border-right: 1px solid var(--pay_border);
    border-radius: 1px;
}

.search_data_box > div:first-child {
    position: relative;
    background-color: transparent;
    z-index: 2;
    display: flex;
}

.search_data_box > div:first-child > input {
    all: initial;
    border: 1px solid rgb(231, 231, 231);
    width: 100%;
    padding: 2px 22px 2px 3px;
    background-color: transparent;
    margin: 0px;
    height: 30px;
}

.search_data_box > div:first-child > i {
    position: absolute;
    right: 0;
    width: 20px;
    height: 36px;
    line-height: 36px;
    color: #000;
}

.search_data_box > ul {
    margin-bottom: 0;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.search_data_box ul > li {
    padding: 5px;
}

.search_data_box ul > li:hover {
    background-color: #e7e7e7;
}

.slider_box {
    overflow-y: auto;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
}

.slider_box::-webkit-scrollbar {
    display: block;
    height: 3px;
    width: 3px;
    background-color: #e7e7e7;
}

.slider_box::-webkit-scrollbar-thumb {
    background-color: var(--main_btn);
    border-radius: 5px;
}

.error_tips {
    display: flex;
    align-items: center;
    color: var(--important_text);
}

.use-drop-select:after, .country-box:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.shadow-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.no-set-payment {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-direction: column;
    margin-top: 20px;
    padding: 10px;
    text-align: center;
}

.no-set-payment > a > span:last-child {
    margin-top: 20px;
    border: 3px solid #e7e7e7;
    padding: 5px 30px;
    border-radius: 40px;
    font-size: 18px;
}

.no-set-payment > a > span:last-child:hover {
    color: red;
    border-color: var(--important_text);
}

.submit-order-bg, .big-img {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 21;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
}

.big-img {
    background-color: #000;
}

.big-img > i {
    font-size: 1.8rem;
    color: #fff;
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
}

.img-hm, .img-711, .img-qj {
    height: 29px;
    width: 29px;
    background: url(../shared/payment.png);
    overflow: hidden;
}

.img-cod {
    -webkit-mask-box-image: url(../order/box-seam.svg);
    -webkit-mask-box-image-repeat: no-repeat;
    -webkit-mask-image: url(../order/box-seam.svg);
    -webkit-mask-repeat: no-repeat;
    display: block;
    -webkit-mask-size: cover;
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    border-right: 20px solid transparent;
    border-color: var(--main_btn);
    -webkit-filter: drop-shadow(0px 0 0px);
    filter: drop-shadow(0px 0 0px);
    box-sizing: border-box;
    margin-right: 0.5rem;
}

.img-cod:before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    z-index: 1;
    background-color: #000;
    transition: background-color 0.5s;
}


.information-item.active .img-cod:before {
    background-color: var(--main_btn_text);
}

.img-711 {
    background-position: -3px 102px;
}

.img-qj {
    background-position: -3px 51px;
}

.shadow-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.select-focus {
    border: 1px solid var(--main_btn) !important;
}

@media (max-width: 400px) {
    .customer-information label {
        font-size: 13px;
    }
}


@media (max-width: 360px) {
    .delivery-box {
        flex-direction: column;
    }

    .delivery-box > .information-item {
        margin-right: 0;
        max-width:unset;
    }
}