.product-detail-component {
    width: 100%;
}

.product-detail-component .home-product-detail-content {
    display: flex;
    gap: 20px;
    margin: 48px 0 80px;
}

.product-detail-component .home-product-detail-content .product-image-area {
    flex: 1;
    height: max-content;
    /* height: 80vh; */
    max-height: 90vh;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    position: sticky;
    top: 60px;
    overflow: hidden;
}

.product-detail-component .product-image-area .product-image-area-left {
    width: 25%;
    height: 100%;
    height: -webkit-fill-available;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 12px;
    padding-right: 10px;
}

.product-detail-component .main-image-swiper .swiper-slide {
    height: auto;
}

.product-detail-component .product-main-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.product-detail-component .product-image-area .product-image-area-right {
    width: calc(75% - 20px);
    height: max-content;
    /* display: flex;
	flex-direction: column; */
}

.product-detail-component .home-product-detail-content .product-text-area {
    width: 371px;
}

.product-detail-component .main-image-swiper {
    /* width: 100%; */
}

/* 缩略图滑块样式 */
.product-detail-component .thumbnail-swiper-container {
    padding: 0 10px;
}

.product-detail-component .thumbnail-swiper-container .thumbnail-swiper {
    width: max-content;
    max-width: 100%;
}

.product-detail-component .thumbnail-swiper .swiper-slide {
    opacity: 1;
    box-sizing: border-box;
    height: 60px;
    width: 60px !important;
    display: flex;
    align-items: center;
}

.product-detail-component .thumbnail-swiper .swiper-slide .product-thumbnail-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    transition: all 0.2s ease-in-out;
}

.product-detail-component .thumbnail-swiper .swiper-slide .slide-thumb-active {
    border: 2px solid black !important;
    opacity: 1;
}

.product-detail-component .thumbnail-swiper .swiper-slide .product-thumbnail-container:hover {
    border: 1px solid #a9a9a9;
}

.product-detail-component .thumbnail-swiper .swiper-slide-thumb-active .product-thumbnail-container {
    opacity: 1;
    border: 2px solid black !important;
    box-sizing: border-box;
}

.product-detail-component .swiper-button-next::after {
    content: '';
    display: none;
}

.product-detail-component .swiper-button-next,
.swiper-button-prev {
    background-color: #1A1A1A;
    border-radius: 50%;
    width: 35px !important;
    height: 35px !important;
    padding: 5px;
    color: #fff;
}

.product-detail-component .swiper-button-prev::after {
    content: '';
    display: none;
}

/* 商品推荐Swiper样式 */
.product-detail-component .similar-products-swiper {
    height: calc(100% - 60px);
    width: 100%;
}

.product-detail-component .product-name {
    font-size: 38px;
    text-transform: uppercase;
    font-family: 'Times New Roman', Times, serif;
    line-height: 38px;
}

.product-detail-component .product-text-content-2 {
    display: flex;
    flex-direction: column;
}

/* 商品价格样式 */
.product-detail-component .product_price_box {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.product-detail-component .product_price_box .product_prices {
    font-size: 22px;
    color: #e74c3c;
    display: flex;
    flex-direction: column;
    /* flex-direction: row; */
}

.product-detail-component .product_price_box .price_tag {
    background-color: #e74c3c;
    color: white;
    display: inline-block;
    padding: 0 10px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    position: relative;
}

.product-detail-component .product_price_box .price_tag::before {
    content: "";
    width: 10px;
    height: 35px;
    border: 12px solid #e74c3c;
    position: absolute;
    left: -24px;
    top: -0px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.product-detail-component .product_price_box .price_tag::after {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #FFF;
    position: absolute;
    top: 50%;
    right: 100%;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* 限时特惠 */
.product-detail-component .time_tag {
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid #B98141;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-detail-component .time_tag ._title {
    color: #e00;
    font-size: 12px;
}

.product-detail-component .time_tag ._text {
    font-size: 14px;
}

.product-detail-component .time_tag ._text span {
    color: #e00;
}

/* 商品加入购物车相关样式 */
.product-detail-component .add-to-cart-containr td {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-detail-component .add-to-cart-containr .label {
    padding-right: 0px !important;
}

.product-detail-component .add-to-cart-containr .wd-reset-var {
    width: max-content !important;
}

/* 数量输入框样式 */
/*.product-detail-component .quantity {*/
/*    border: 1px solid #ccc;*/
/*    padding: 0 5px;*/
/*    border-radius: 30px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/*.product-detail-component .quantity input {*/
/*    border: none !important;*/
/*}*/

/*.product-detail-component .quantity input[type="button"] {*/
/*    width: 30px !important;*/
/*    height: 30px !important;*/
/*    border-radius: 20px;*/
/*}*/

/*.product-detail-component .quantity .qty {*/
/*    width: 40px !important;*/
/*    padding: 8px !important;*/
/*    text-align: center !important;*/
/*    border-radius: 4px !important;*/
/*}*/



/* 商品特权 */
.product-detail-component .product-privilege-box {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-detail-component .product-privilege-box .brand-logo {
    height: 40px;
}

.product-detail-component .product-privilege-box .privilege-list {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.product-detail-component .product-privilege-box .privilege-list>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #1A1A1A;
    font-size: 12px;
}

/* 查看更多相似商品 */
.product-image-hover-container {
    position: relative;
    overflow: hidden;
}

.product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-hover-container:hover .product-hover-overlay {
    opacity: 1;
}

.product-category {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 20px;
}

.view-similar-button {
    color: #fff;
    background-color: #000000ff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-similar-button:hover {
    background-color: #242424ff;
    color: #fff;
}

/* 媒体查询 */
/*手机屏幕 内容一列显示*/
@media (max-width: 768px) {
    .product-detail-component .product-text-content-2 {
        flex-direction: column-reverse;
    }

    .product-detail-component .product-name {
        font-size: 28px;
        line-height: 28px;
        margin: 10px 0 0 0;
    }

    .product-detail-component .home-single-product-details {
        padding-top: 20px !important;
    }

    .product-detail-component .home-product-detail-content {
        gap: 0px;
        flex-direction: column;
        margin: 10px 0 20px;
    }

    .product-detail-component .home-product-detail-content .product-image-area {
        position: initial;
        gap: 0px;
        margin-bottom: 20px;
    }

    .product-detail-component .home-product-detail-content .product-text-area {
        width: 100%;
    }

    .product-detail-component .product-image-area-left {
        display: none !important;
    }

    .product-detail-component .product-image-area-right {
        width: 100% !important;
    }
    .product-detail-component .thumbnail-swiper .swiper-slide {
        width: 40px !important;
        height: 40px !important;
    }
}

/* 平板屏幕 内容两列显示 */
@media (min-width: 768px) and (max-width: 950px) {
    .product-detail-component .home-product-detail-content {
        gap: 20px;
        flex-direction: row;
        margin: 20px 0 40px;
    }

    .product-detail-component .home-product-detail-content .product-image-area {
        position: sticky;
    }

    .product-detail-component .home-product-detail-content .product-text-area {
        width: 371px;
    }

    .product-detail-component .product-image-area-left {
        display: none;
    }

    .product-detail-component .product-image-area-right {
        width: 100%;
    }
}

/*小桌面及以上 内容三列显示*/
@media (min-width: 950px) and (max-width: 1224px) {
    .product-detail-component .product-name {
        font-size: 38px;
        line-height: 38px;
    }

    .product-detail-component .home-product-detail-content {
        gap: 20px;
        flex-direction: row;
        margin: 48px 0 80px;
    }

    .product-detail-component .home-product-detail-content .product-image-area {
        position: sticky;
    }

    .product-detail-component .home-product-detail-content .product-text-area {
        width: 371px;
    }

    .product-detail-component .product-image-area-left {
        display: flex;
    }

    .product-detail-component .product-image-area-right {
        width: calc(75% - 20px);
    }
}

/*桌面及大屏幕 三列显示内容*/
@media (min-width: 1224px) {
    .product-detail-component .product-name {
        font-size: 38px;
        line-height: 38px;
    }

    .product-detail-component .home-product-detail-content {
        gap: 20px;
        flex-direction: row;
        margin: 48px 0 80px;
    }

    .product-detail-component .home-product-detail-content .product-image-area {
        position: sticky;
    }

    .product-detail-component .home-product-detail-content .product-text-area {
        width: 371px;
    }

    .product-detail-component .product-image-area-left {
        display: flex;
    }

    .product-detail-component .product-image-area-right {
        width: calc(75% - 20px);
    }
}