/**
 * 轮播图
 */
.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /*max-width: 600px;*/
    text-align: center;
}

.carousel-container .carousel {
    position: relative;
    width: calc(100vw - 10vw);
    height: calc(100vw - 10vw);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-container .carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-container .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.carousel-container .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire container while maintaining aspect ratio */
    display: block;
}

.carousel-container .carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

.carousel-container .prev {
    left: 10px;
}

.carousel-container .next {
    right: 10px;
}

.carousel-container .thumbnails {
    margin-top: 20px;
}

.carousel-container .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    border-radius: 5px;
}

.carousel-container .thumbnail.active {
    border-color: #ff4242;
}

@media (min-width: 1024px) {

    .carousel-container .carousel {
        width: calc(100vw* 0.5 - 10px);
        height: calc(100vw* 0.5 - 10px);
    }
}

@media (min-width: 1200px) {

    .carousel-container .carousel {
        width: calc(1400px * 0.5 - 10px);
        height: calc(1400px * 0.5 - 10px);
    }
}


/*
 * 页面
 */

body {
    /*background: #f9f9f9;*/
}

.head-layer {
    border-bottom: 1px solid #f1f1f1;
}


/*
 * 商品信息栏目
 */
.goods-info-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

.goods-info-column .content-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1400px;
    background: #ffffff;
}

.goods-info-column .goods-img {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 2rem;
}

.goods-info-column .goods-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 20px 0;
    padding: 0 10vw;
}

.goods-info-column .goods-intro > .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.goods-info-column .goods-intro .price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.125rem;
    height: 2rem;
    margin: 6px 0;
}

.goods-info-column .goods-intro .price .label {
    font-size: 1.125rem;
    font-weight: bold;
}

.goods-info-column .goods-intro .cate {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.125rem;
    height: 2rem;
    margin: 6px 0;
}

.goods-info-column .goods-intro .cate .label {
    font-size: 1.125rem;
    font-weight: bold;
}

.goods-info-column .goods-intro .productno {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.125rem;
    height: 2rem;
    margin: 6px 0;
}

.goods-info-column .goods-intro .productno .label {
    font-size: 1.125rem;
    font-weight: bold;
}

.goods-info-column .goods-intro .introduce {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem 0 0 0;
    color: #666666;
    font-size: 1.25rem;
    line-height: 1.7em;
    font-weight: 500;
    white-space: pre-line;
}

.goods-info-column .goods-intro .param-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding-top: 4rem;
}

.goods-info-column .goods-intro .param-list .item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.625;
    color: #666666;
}

.goods-info-column .goods-intro .param-list .item .label {
    display: flex;
    flex-grow: 1;
    height: 100%;
    width: 30px;
}

.goods-info-column .goods-intro .param-list .item .param {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 30px);
}

.goods-info-column .goods-intro .color {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.125rem;
    height: 2rem;
    margin: 6px 0;
}

.goods-info-column .goods-intro .color .label {
    font-size: 1.125rem;
    font-weight: bold;
}

.goods-info-column .goods-intro .line {
    height: 1px;
    width: 100%;
    border-top: 1px solid #efefef;
    margin: 1.25rem 0;
}


@media (min-width: 1024px) {

    .goods-info-column .content-block {
        margin: 2.5rem 0;
    }

    .goods-info-column .goods-img {
        width: 50%;
        margin-top: unset;
    }

    .goods-info-column .goods-intro {
        margin: 0;
        padding: 0 0 0 3rem;
        width: 50%;
    }

    .goods-info-column .goods-intro > .name {
        font-size: 1.875rem;
        font-weight: bold;
    }

    .goods-info-column .goods-intro .supplier-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .goods-info-column .goods-intro .supplier-info .qrcode {
        padding: 0 50px;
    }

    .goods-info-column .goods-intro .supplier-info .intro-block .head .logo {
        width: 80px;
        height: 80px;
    }

    .goods-info-column .goods-intro .supplier-info .intro-block .head .name {
        font-size: 1.5rem;
        font-weight: normal;
    }

    .goods-info-column .goods-intro .supplier-info .intro-block .merito {
        margin-bottom: 0;
    }

    .goods-info-column .goods-intro .contact {
        align-self: unset;
    }
}

/*
 * 商品详情栏目
 */
.goods-detail-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 600px;
    background: #ffffff;
}

.goods-detail-column .num-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    margin: 2.25rem 0rem 1.125rem 0rem;
    padding: 0 10px;
}

.goods-detail-column .num-label .num {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    margin-right: 10px;
    background: #ff4242;
    border: 1px solid #ffffff;
}

.goods-detail-column .num-label .num i {
    font-size: 1.5rem;
    background: #ff4242;
    color: #ffffff;
    padding: 8px 12px;
    border: 1px solid #ffffff;
}

.goods-detail-column .num-label .title {
    display: flex;
    flex-direction: column;
    color: #767676;
    height: 100%;
    font-size: 0.8rem;
}

.goods-detail-column .num-label .title span {
    font-size: 2rem;
    font-weight: normal;
    color: #262626;
}

.goods-detail-column .num-label .title img {
    height: 100%;
}

.goods-detail-column .param-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}

.goods-detail-column .param-block .table {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.goods-detail-column .param-block .table .table-title {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    font-size: 2.375rem;
    color: #333333;
    background-color: #e2e2e4;
}

.goods-detail-column .param-block .table .table-data {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.125rem;
    line-height: 1.6;
}

.goods-detail-column .param-block .table .table-data .item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 6px 14px;
    color: #333333;
}

.goods-detail-column .param-block .table .table-data .item span {
    width: fit-content;
    color: #666666;
}

.goods-detail-column .param-block .table .table-data .item div {
    width: 1px;
    flex-grow: 1;
    word-wrap: break-word;
}

.goods-detail-column .detail-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}

.goods-detail-column .detail-block .detail-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.goods-detail-column .detail-block .detail-content img {
    width: 100%;
}

@media (min-width: 1200px) {

    .goods-detail-column .num-label {
        margin: 6.25rem 0rem 3.125rem 0rem;
    }

    .goods-detail-column .num-label .num i {
        font-size: 4rem;
    }

    .goods-detail-column .num-label {
        padding: 0;
    }

    .goods-detail-column .num-label .title {
        display: flex;
        flex-direction: column;
        color: #767676;
        height: 100%;
        font-size: 1rem;
    }

    .goods-detail-column .num-label .title span {
        font-size: 2.5rem;
    }


    .goods-detail-column .param-block .table {
        border: 1px solid #ccc;
    }

    .goods-detail-column .param-block .table .table-title {
        display: flex;
    }

    .goods-detail-column .param-block .table .table-data {
        font-size: 1.25rem;
        line-height: 1.6;
        padding: 44px 48px;
    }

    .goods-detail-column .param-block .table .table-data .item {
        width: calc((100%) / 4 - 22px);
        margin: 10px;
        height: unset;
    }

    .goods-detail-column .param-block .table .table-data .item span {
        color: unset;
    }
}