
.product-detail {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    top: 40px;
    width: 100%;

}
.pic-back{
    width: 50%;
}


.product-previewer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;

}

.main-image-container {
    position: relative;
    width: 80%;
    margin: 0 10%;
    max-height: 600px;
    max-width: 900px;
    cursor: zoom-in;
    transition: transform 0.5s ease;
    touch-action: pan-y;
}

.main-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    touch-action: pan-y;
}

.main-image.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}
.thumbnail-back{
    width: 60%;
    margin-left: 20%;
    display: flex;
    overflow: hidden;
}
.thumbnail-container {
    display: flex;
    gap: 1%;
    padding: 10px 5px;
    width: 100%;
}

.thumbnail {
    width: 12%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 3px solid transparent;
}

.thumbnail:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.thumbnail.active {
    opacity: 1;
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 自定义滚动条 */
.thumbnail-back::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-back::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-back::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.thumbnail-back::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


.describe-back {
    width: 50%;
}
.describe-container{
    width: 90%;
    margin: 5% 5%;
}

.product-describe {
    width: 100%;
    height: 25px;
    position: relative;
    align-items: center;
    overflow: hidden;
}

.product-describe-title {
    position: relative;
    overflow: hidden;
}

.product-describe-title a {
    color: #e1b257;
    font-size: 1rem;
    overflow: hidden;

}




.select-product {
    margin-top: 5%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.option-title {
    position: relative;
    align-content: center;
    width: 10%;
    font-size: 1rem;
    color: #ffcc00;
}


.options {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    color: #fffdfd;
    font-size: 1rem;
}

.color-option {
    padding: 3px;
    height: 30px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid white;
    cursor: pointer;
}

.size-option {
    padding: 3px;
    height: 30px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid white;
    cursor: pointer;
}

.package-option {
    padding: 3px;
    height: 30px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid white;
    cursor: pointer;
}

.color-option.selected, .size-option.selected, .package-option.selected {
    border-color: #ff6700;
    background-color: #e7185c;
    position: relative;
}

.color-option.selected::after, .size-option.selected::after, .package-option.selected::after {
    content: "✓";
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #ff6700;
    color: white;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.select-options {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1rem;

}
.options-cart {
    appearance: none;
    border: none;
    outline: none;
    position: relative;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 50%;
    height: 40px;
    border-radius: 18px 0 0 18px;
    background-color: rgb(253, 153, 57);
    box-shadow: 0 0 1px 0 rgb(255, 255, 255);
    color: #fffefe;
}

.options-order {
    appearance: none;
    border: none;
    outline: none;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 50%;
    height: 40px;
    border-radius: 0 18px 18px 0;
    background-color: rgb(225, 15, 65);
    box-shadow: 0 0 1px 0 rgb(255, 255, 255);
    color: #fffefe;
}

.options-contact {
    margin-top: 2%;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 40px;
    border-radius: 18px 18px 18px 18px;
    background-color: rgb(231, 24, 92);
    box-shadow: 0 0 1px 0 rgb(255, 255, 255);
    color: #ffffff;
}
.options-contact a:visited{
    text-decoration: none;
    color: #fffdfd;
}

.options-cart:hover {
    box-shadow: 0 0 65px 0 rgba(207, 207, 227, 0.85);
    transition: all 0.3s ease;
}

.options-contact:hover {
    box-shadow: 0 0 65px 0 rgba(207, 207, 227, 0.85);
    transition: all 0.3s ease;
}

.options-order:hover {
    box-shadow: 0 0 65px 0 rgba(207, 207, 227, 0.85);
    transition: all 0.3s ease;
}

.pp{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0;
}

.p-details-title {
    align-items: center;
    height: 10%;
    color: #fffefe;
    align-content: center;
    background-color: #0e2c3a;
}

.p-details-title p {
    position: relative;
    text-align: center;
    font-size: clamp(1.5rem, 1.8vw, 3rem);
}

.p-details {

    background-color: #23546b;
}
.p-details img{
    width: 100%;
}
@media screen and (max-width: 1440px){
    .pic-back{
        width: 60%;
    }
    .describe-back {
        width: 40%;
    }
    .product-describe-title a {
        font-size: 0.9rem;

    }
    .option-title {
        font-size: 0.8rem;
    }
    .options {
        font-size: 0.8rem;
    }

    .color-option {
        padding: 3px;
        height: 20px;
    }

    .size-option {
        padding: 3px;
        height: 20px;
    }

    .package-option {
        padding: 3px;
        height: 20px;
    }
    .select-options {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        font-size: 0.8rem;

    }
    .options-cart {
        height: 30px;
    }

    .options-order {
        height: 30px;
    }

    .options-contact {
        margin-top: 2%;
        height: 30px;
    }
}


@media screen and (max-width: 768px){
    .pic-back{
        max-width: 1000px;
        width: 100%;
    }
    .main-image-container {
        width: 100%;
        margin: 0 0 ;
    }
    .describe-back {
        width: 100%;
    }
    .product-describe-title a {
        font-size: 1rem;
    }



}