body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    color: #333;
}

.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

}

/* 产品头部样式 */
.product-header {
    display: grid;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    grid-template-columns: repeat(2, 1fr);
}

.product-main-image img {
    max-width: 300px;
    height: 400px
}

.product-info {
    flex: 1;
    min-width: 300px;

}

.color-options .color-btn {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    cursor: pointer;

}

.color-options .color-btn.active {
    box-shadow: 0 0 0 2px #ccc;
}


.select-options select {
    display: block;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

.product-thumbnails img {

    cursor: pointer;
    position: relative;
    width: auto;
    height: 100%;
}

/* 特性部分样式 */
.features {
    margin-bottom: 40px;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    /*border: 1px solid #ddd;*/
    /*padding: 10px;*/
    border-radius: 5px;
    max-width: 300px;
}

.feature-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* 规格部分样式 */
.specifications table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 0 0 rgb(175 175 175 / 40%)
}

.specifications table tr td {
    border: none;
    padding: 8px;
    text-align: center;

}
.card-picture{
    position: relative;
    overflow: hidden;
    background-size: 100%;
    background-position: center;
    transition: background-size 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 250px;
    /* border-radius: 3px; */
    background-color: rgb(0, 79, 145, 0.3);
}

.card-picture .fronts{
    background-size: auto 100%;
    background-attachment: initial;
    background-position: center center;
    background-repeat: no-repeat;
    max-height: 200px;
    max-width: 200px;

}

.recommend-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 10px;
    justify-content: center;

}

.img_up_title {
    font-size: 1.25rem;
    color: var(--backcolor);
    position: absolute;
    left: 5px;
    bottom: 0;
    font-weight: 700;
}


.back-ccc {
    background-color: #2f363c;
}

.back-ccc td {
    color: #FFFFFF;
}

.specifications table tr td:first-child {
    font-weight: bold;
    width: 30%;
}

.product-info label {
    color: var(--textcolor);
    font-weight: 600;
    display: block;
}

.product-info .title {
    font-size: 3em;

    color: var(--textcolor);

}

.features h2 {
    color: var(--textcolor);
}

.specifications .title {
    color: var(--textcolor);
}

.product-info .container {
    width: 100%;
    display: flex;
    padding: 20px 0;
    gap: 20px;
}
.height-600{
    height: 600px!important;
}

@media (max-width: 1024px) {
    .product-header {
        display: flex !important;
    }
    .recommend-images {
        display: grid;!important;


    }

    .product-thumbnails {
        display: none;
    }
}

.product-main-image {
    width: 100%;
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
}

.product-main-image .bg-img {

    transition: opacity 0.5s ease-in-out;
}

.product-thumbnails .small-img {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    /*border-radius: 5px;*/
    box-shadow: 0 1px 2px 2px rgb(175 175 175 / 40%);
}

.small-img.active {
    border-bottom: 2px solid #16b7777d;
    /*box-shadow: 0 2px 0 0 #16b7777d;*/
}

.product-img {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    align-items: center;

}

.product-info span {

    line-height: 40px;
}

.Shaft-btn {
    height: 40px;
    width: 60px;

    color: #fff;
    text-align: center;
}

.span-box {


    color: #fff;
    padding: 5px 20px;
    text-align: center;

}
