.subpage_mv_img img{

    width: 100%;
    object-fit: cover;
    height: 100%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}



.product_lists{
    margin-bottom: 260px;
}

.select_wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 0px;
    border-bottom: 1px solid var(--gray100);
}

.select_wrap select {
    text-transform: none;
    border: unset;
    background: unset;
    width: 100%;
}

/* 去掉 select 的輪廓 */
select:focus {
    outline: none;
    border: 1px solid transparent; /* Optional: To maintain border appearance */
}

/* 調整下拉箭頭的距離 */
select {
    padding-right: 0px; /* Adjust based on your layout */
    background: url('path/to/your/arrow-icon.png') no-repeat right 12px center; /* Adjust the icon path and position */
    background-size: 12px; /* Adjust the size of the arrow icon */
    border: 1px solid transparent; /* Optional: To maintain border appearance */
}

/* Optional: Adjust the size and position of the select box */
select {
    font-size: 14px; /* Adjust based on your design */
    height: 40px; /* Adjust based on your design */
}



/* <!--  Product Lists --> */

.product_lists {
    margin: 0px 100px 200px 100px;
}

#product_lists .container{
	padding: 0px;
}

.product_row{
    margin-bottom: 80px;
}

.product_row:first-child{
	margin-top: 0px;
}

.product_row:last-child{
	margin-bottom: 0px;
}


.product_img{
	display: flex;
}


#product_lists .img_wrap h5{
	font-size: 16px;
}





.price_detail i{
    margin-left: 8px;
}


/* pagination */

.pagination{
    text-align: center;
}

.pagination a {
    background-color: var(--lightBG);;
    padding: 6px 12px;
    margin: 4px;
    color: var(--gray300);
    transition: 1s all;
    border-radius: 2px;
}

.pagination a:hover {
    background-color: var(--primary_Green);
    color: var(--base_white);
}

.pagination a.active {
    background-color: var(--primary_Green);
    color: var(--base_white);
}




@media(max-width: 960px){

    .subpage_mv_img img{
        object-position: -220px;
    }

    .product_lists {
        margin: -80px 24px 160px 24px;
    }

    .product_txt {
        margin: 0px 0px 40px 0px;
    }

   
    
}

@media(max-width: 576px){
    .product_lists {
        margin: -160px 16px 80px 16px;
    }
    
}


/*---------------------------------------------------------*/
/* Product Detail Intro PAGE for product_detail.php 
-----------------------------------------------------------*/


.breadcrumb {
    margin: 0px 0px 24px 0px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

section#product_intro {
    margin-top: 300px;
    margin-bottom: 200px;
}

.product_intro .container{
    padding: 0px;
}


/* Artwork Intro */

.product_wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 100%;
    column-gap: 80px;
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    align-items: start;
}

.wrap_left {
    width: 100%;
    position: sticky;
    top: 96px;
    align-self: start;
}

.wrap_left .main-image {
    min-width: 500px; 
    border-radius: 24px;
    object-fit: cover;
}




/* 样式调整 */


.main-image {
    width: 100%;
    height: auto;
}

.arrow {

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 16px 20px;
}

.arrow-left {
    left: 0px;
}

.arrow-right {
    right: 0px;
}


.wrap_left .thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    
}

.wrap_left .thumbnail {
    width: 40px; /* 縮略圖尺寸 */
    margin-right: 8px;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.8;
}

.wrap_left .thumbnail:last-child {
    margin-right: 0;
}

.wrap_left .thumbnail.active {
    border: 2px solid var(--primary_Green);
    border-radius: 4px;
}


.wrap_right {
    width: 100%;
}


.wrap_left img {
    width: 100%;
}

.wrap_left .img_condition {
    margin-top: 24px;
    width: 100%;
}

.img_condition p{
    font-size: 14px;
}

.wrap_left .condition_icon{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.wrap_left .condition_icon i{
    white-space: nowrap;
}

.wrap_right .img_condition {
    display: none;
}

.product_des h6 {
    font-size: 20px;
    line-height: 180%;
    margin-top: 0px;
}

.product_des p {
    font-size: 16px;
    font-weight: 400;
}


.wrap_right table {
    width: 100%;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
}

table, tr:last-child {
    border-bottom: unset !important;
}

table, tr, th, td {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray500);
    padding-bottom: 16px;
    padding-top: 16px;
}

table, th{
    color: var(--gray700);
    font-weight: 400;
    width: 30%;
}

table, td{
    color: var(--primary-black);
}


.wrap_right button {
    width: 100%;
    cursor: pointer;
    margin-bottom: 24px;
    text-decoration: unset;
    border: unset;
    padding: 20px 0px;
    border-radius: 8px;
    background: var(--primary_Green);
    color: var(--base_white);
    font-weight: 300;
    transition: all 0.8s;
}

.wrap_right button.store-buy-button {
    margin-bottom: 10px;
}

.wrap_right button.store-buy-button + button:not(.store-buy-button) {
    margin-top: 14px;
}

.wrap_right button:hover {
    background: #93927b;
}

.wrap_right button:last-child {
    border: 1px solid var(--primary_Green);
    color: var(--primary_Green);
    background: unset;
    font-weight: 400;
}

.wrap_right button:last-child:hover {
    border: 1px solid #93927b;
    color: #93927b;
    background: unset;
}

button:disabled {
    background: var(--primary_Green);
    opacity: 0.2;
    cursor: no-drop;
}

.wrap_right button i{
    margin-left: 8px;
    font-weight: 600;
}


.wrap_right button span {
    font-size: 14px;
    display: block;
    font-style: italic;
    color: darkgray;
}

@media(max-width: 960px){

    section#product_intro {
         margin: 200px 40px 80px 40px;
      
    }

    .breadcrumb {
        margin: 0px 0px 24px 0px;
    }

    .product_wrap {
        width: 100%;
        column-gap: 40px;

    }

    .wrap_right table {
        margin-top: 0px;

    }

}


@media(max-width: 780px){

    section#product_intro {
         margin: 200px 40px 80px 40px;
         width: 100%;
      
    }

    .wrap_left .main-image {
        width: 100%;
        height: 480px;
        object-fit: cover;
    }

        
    .product_wrap {
        display: block;
        margin: 0px 0px;
    }

    .wrap_right {
        width: 100%;
        margin-top: 24px;
    }

    .arrow {
        display: block;
    }
    

   
    .wrap_left .img_condition{
        display: none;
       
    }

    .wrap_right .condition_icon{
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .wrap_right .img_condition {
        display: block;
        margin-top: 40px;
    }

}



@media(max-width: 576px){

    section#product_intro {
        margin: 200px 24px 80px 24px;
        width: 100%;
     
   }

   .wrap_left .main-image {
    height: 400px;
}

    .wrap_left {
        position: relative;
        top: auto;
        width: 100%;
    }

    .arrow {
        display: block;
    }
    

    .wrap_right {
        width: 100%;
        margin-top: 24px;
    }

    .wrap_left .img_condition{
        display: none;
       
    }

    .wrap_right .condition_icon{
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .wrap_right .img_condition {
        display: block;
        margin-top: 40px;
    }
    

}


@media(max-width: 378px){

    section#product_intro {
        margin: 160px 24px 80px 24px;
    }

    .wrap_left .main-image {
        height: 320px;
    }
}
