@charset "UTF-8";

.main-product,
.review {
    display: flex;
    width: 80%;
    margin: 3rem auto;
}

.review {
    flex-direction: column;
}

.main-product .product-detail .detail > div {
    margin-bottom: 0.5rem;
}

.main-product .product-carousel {
    width: 55%;
    padding: 0 2.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: sticky;
    top: 0.5rem;
    height: 100%;
    flex-direction: column;
}

.main-product .product-carousel .swiper-button-next,
.main-product .product-carousel .swiper-button-prev {
    display: none;
}

.main-product .product-detail {
    width: 45%;
}

.main-product .product-carousel .video_cover_picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product .product-name {
    display: inline-block;
    font-size: 2.5rem;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.main-product .star {
    margin-bottom: 0.5rem;
}

.main-product .product-price {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.main-product .product-price .current-price {
    color: var(--main_btn);
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

.main-product .product-price .original-price {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.main-product .product-price .save-label {
    display: flex;
    justify-content: space-between;
    height: 1.5rem;
    width: 4.5rem;
    background-color: var(--main_btn);
    padding: 0.3rem 0.4rem;
    border-radius: 5px;
}

.main-product .product-price .save-label > span {
    color: var(--main_btn_text);
}

.main-product .product-label {
    display: flex;
    flex-direction: column;
}

.main-product .product-label > span {
    font-size: 1.2rem;
    color: red;
    padding-bottom: 0.5rem;
}

.main-product .line {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.main-product .line > span:not(.line-title) {
    display: block;
    height: 2px;
    flex-grow: 1;
    background-color: var(--main_btn);
}

.main-product .line > .line-title {
    padding: 0 0.8rem;
}

.main-product .product-package input[type="radio"] {
    display: none;
}

.main-product .product-package > div {
    margin: 0.5rem 0;
}

.main-product .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;
}

.main-product .product-package > div > label > i {
    font-size: 1.4rem;
    color: var(--product_package_bd);
    padding: 0 0.5rem;
    font-weight: 600;
}

.main-product .product-package input[type="radio"]:checked + label > i {
    color: var(--main_btn);
}

.main-product .product-package input[type="radio"]:checked + label > i:before {
    content: "\e643";
}

.main-product .product-package input[type="radio"]:checked + label {
    background-color: var(--product_package_bg_checked);
    border: 2px solid var(--main_btn);
}

.main-product .product-package .package-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    word-break: break-word;
    margin: 0 10px 0 0;
}

.main-product .product-package .package-price {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.main-product .product-package .package-price .current-price {
    font-size: 1.2rem;
    color: var(--main_btn);
    margin-bottom: 0.3rem;
}

.main-product a .buy-btn {
    overflow: hidden;
    margin: 1.5rem 0 2.5rem 0;
}

.main-product a .buy-btn > div,
.fixed-buy-btn a .buy-btn > div {
    position: relative;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main_btn_text);
    padding: 0.85rem 0.7rem;
    border-radius: 7px;
    border: 2px solid var(--main_btn);
}

.main-product a .buy-btn > div::after,
.fixed-buy-btn a .buy-btn > div::after {
    content: "";
    display: block;
    background-color: var(--main_btn);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
    box-shadow: 0 0 1px 3px var(--main_btn);
    border-radius: 10px;
}

.main-product a .buy-btn:hover > div,
.fixed-buy-btn a .buy-btn:hover > div {
    color: var(--main_btn);
    transition: color 0.3s;
}

.main-product a .buy-btn:hover > div::after,
.fixed-buy-btn a .buy-btn:hover > div::after {
    transition: width 0.3s;
    width: 0;
    box-shadow: unset;
}

.information,
.parameter {
    padding: 0.5rem 0.3rem;
}

.rating {
    position: relative;
    color: var(--main_btn);
    display: inline-block;
    margin-left: 2px;
    margin-bottom: 1rem;
}

.rating > div:first-child {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    text-overflow: clip;
    white-space: nowrap;
    overflow: hidden;
}

.rating > div:last-child {
    color: #ccc;
}

.rating > div > i {
    margin: -2px;
    color: orange;
    font-size: 1.5rem;
}

.product-detail .rating > div > i {
    font-size: 1.2rem;
}

.rating > div > i:last-child {
    margin-right: 0;
}

.fixed-buy-btn {
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    bottom: 0;
    left: 0;
    background-color: #fff;
    max-height: 100px;
    display: none;
    padding: 0 10vw;
    z-index: 3;
}

.fixed-buy-btn .product-detail .product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90%;
    width: 100px;
}

.fixed-buy-btn .product-detail {
    display: flex;
    align-items: center;
    flex: 1;
}

.fixed-buy-btn .product-detail > div:last-child {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
}

.fixed-buy-btn .product-detail .product-content {
    padding: 0 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.fixed-buy-btn .product-detail .product-content .product-name {
    font-weight: 600;
    font-size: 1.5rem;
    padding: 0.2rem 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-buy-btn .product-detail .product-content > .product-price {
    display: flex;
    align-items: center;
}


.fixed-buy-btn .product-detail .product-content > .product-price > .original-price {
    padding: 0 0.5rem;
    font-size: 1.1rem;
}

.fixed-buy-btn .product-detail .product-content > .product-price > .current-price {
    font-size: 1.5rem;
    color: var(--main_btn);
    font-weight: 600;
}

.fixed-buy-btn .product-detail .package-option {
    margin-left: auto;
    padding: 0 1rem;
}

.fixed-buy-btn .product-detail .package-option > select {
    border: 1px solid var(--product_package_bd);
    padding: 0.85rem 0.7rem;
    border-radius: 7px;
    background-color: var(--product_package_bg);
}

.fixed-buy-btn .product-detail .package-option > select:hover {
    border-color: var(--main_btn);
    background-color: var(--product_package_bg_checked);
}

.fixed-buy-btn a {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-buy-btn a .buy-btn {
    overflow: hidden;
}

.fixed-buy-btn a .buy-btn > div {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

.flash_sale {
    width: 100%;
}

.share-btn {
    position: relative;
    height: 1.25rem;
    box-sizing: content-box;
}

.share-btn .shadow {
    background-color: transparent;
}

.share-type-box {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: calc(-50px + 1rem);
    box-shadow: 0 0 0 1px #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.share-type-box::after {
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    background-color: #fff;
    position: absolute;
    top: -3px;
    right: 11px;
    transform: rotate(45deg);
    z-index: 1;
    box-shadow: 0 0 0 1px #ccc;
}

.share-type {
    background-color: #fff;
    display: flex;
    height: 40px;
    padding: 5px 0;
    position: relative;
    z-index: 2;
    border-radius: 5px;
}

.share-type .app {
    display: flex;
    margin-bottom: 0;
    width: 30px;
}

.share-type-box-m {
    display: flex;
    position: fixed;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    z-index: 6;
    top: 0;
    left: 0;
    border-radius: 0;
    box-shadow: unset;
}

.share-type-box-m::after {
    background-color: transparent;
    box-shadow: unset;
}

.share-type-box-m .share-type {
    border-radius: 0;
    margin-top: auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 84px;
}

.share-type-box-m .share-type .app {
    justify-content: center;
    width: calc(25% - 10px);
    max-width: 64px;
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }

    .main-product .product-name {

        font-size: 2rem;
    }

    .review .card-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .share-btn:hover {
        padding-left: 2rem;
        padding-bottom: 1rem;
    }

    .share-btn:hover > .share-type-box {
        display: flex;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    .main-product, .review {
        width: 94%;
    }

    .review .card-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-product {
        flex-direction: column;
        margin: 2rem auto;
    }

    .main-product .product-carousel {
        width: 100%;
        position: relative;
        margin-bottom: 2rem;
        padding: 0;
    }

    .main-product .product-detail {
        width: 100%;
    }

    .fixed-buy-btn {
        padding: 0 3vw;
    }

    .review > div:first-child {
        flex-direction: column;
        padding: 0 3rem 3rem;
    }

    .grade {
        margin: 0 2rem;
        max-width: 60%;
    }

    .review > div:first-child > div {
        margin-bottom: 2rem;
        width: 100%;
    }

    .review > div:first-child > .add-review-btn {
        width: auto;
    }

    .fixed-buy-btn .product-detail .product-content .product-name {
        font-size: 1.3rem;
    }

    .fixed-buy-btn .product-detail .product-content > .product-price > .current-price {
        font-size: 1.3rem;
    }

    .fixed-buy-btn .product-detail .product-content > .product-price > .original-price {
        font-size: 1rem;
    }

    .fixed-buy-btn .product-detail .package-option > select {
        padding: 0.5rem;
        max-width: 15vw;
    }

    .fixed-buy-btn a .buy-btn > div {
        padding: 0.5rem 1.5rem;
        border-radius: 5px;
    }

    .fixed-buy-btn .product-detail .package-option {

        padding: 0 0.5rem;
    }

    .fixed-buy-btn .product-detail .product-img {
        width: 80px;
    }

    .main-product .product-price .save-label {

        height: 1.8rem;
    }
}

@media (max-width: 480px) {
    .grade {
        max-width: 100%;
    }

    .fixed-buy-btn .product-detail .product-content .product-name {
        display: none;
    }

    .fixed-buy-btn .product-detail .product-content > .product-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .fixed-buy-btn .product-detail .product-content > .product-price > .original-price {
        padding: 0;
    }

    .fixed-buy-btn .product-detail > div:last-child {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-evenly;
        height: 100%;
    }

    .fixed-buy-btn .product-detail .product-content {
        height: auto;
    }

    .fixed-buy-btn .product-detail .package-option {
        margin: 0;
    }

    .fixed-buy-btn .product-detail .package-option > select {
        max-width: 30vw;
        padding: 0.2rem 0.5rem;
    }

    .fixed-buy-btn .product-detail .product-content > .product-price > .current-price {
        font-size: 1.5rem;
    }

    .fixed-buy-btn a .buy-btn {
        max-height: 80%;
    }

    .fixed-buy-btn a .buy-btn > div {
        height: 100%;
        text-align: center;
        padding: 0.5rem 1rem;
    }
}
