#wrap h2.pag_tit { font-size: 30px; }

/* product_list */
#product_list {display:grid;grid-template-columns: repeat(4, 1fr);gap: 60px;margin: 12vw 0 5vw;}
#product_list li{border: 1px solid rgb(0 0 0 / 10%);}
#product_list li:hover{border-color:var(--primary)}
#product_list li .clip {margin: 30px auto;width: 70%;}
#product_list li .corner{opacity: 1;width: 10px;aspect-ratio: 1/1;background:#202452;position:absolute;padding: 0;z-index: 2;top: -5px;left: -5px;}
#product_list li .top-right{opacity:1;right:-5px;left: unset;}
#product_list li .bottom-left{opacity:1;bottom:-5px;top: unset;}
#product_list li .bottom-right{opacity:1;bottom:-5px;right:-5px;top: unset;left: unset;}
#product_list li:hover .top-left{top:-1px;left:-1px;}
#product_list li:hover .top-right{right:-1px;top: -1px;}
#product_list li:hover .bottom-left{left: -1px;bottom: -1px;}
#product_list li:hover .bottom-right{right:-1px;bottom: -1px;}
#product_list li .info_box{margin: 0 0 20px;}
#product_list li .h3 {height: auto;font-size: 22px;text-align: center;font-weight: 500;}

/* productdetail */
#productdetail {margin: 12vw 0 5vw;display: grid;grid-template-columns: 35% 65%;justify-content: space-between;}

/* imglist */
#imglist .clip {border:1px solid #ddd }
#imglist .clip .corner{width: 10px;aspect-ratio: 1/1;background:#202452;position:absolute;padding: 0;z-index: 2;top: 0;left: 0;}
#imglist .clip .top-right{right: 0;left: unset;}
#imglist .clip .bottom-left{bottom: 0;top: unset;}
#imglist .clip .bottom-right{bottom: 0;right: 0;top: unset;left: unset;}

/* productinfo */
#productinfo .cate { padding: 2px 15px; max-width: calc(100% - 105px); height: 22px; font-weight: 100; font-size: 13px; z-index: 6; }
#productinfo h2 {margin: 0 0 15px;font-size: 27px;letter-spacing: 2px;font-weight: 600;color: #313030;}
#productinfo .txt { margin-bottom: 15px; }
#productinfo .txt label { margin-right: 15px; width: 50px; }
#productinfo .price font { font-weight: 600; font-size: 25px; }
#productinfo article {margin-bottom: 30px;padding-bottom: 15px;color: var(--info);line-height: 2.2;text-align: justify;}
#productinfo .sell_box >* { line-height: 100%; font-size: 17px; vertical-align: baseline; }
#productinfo .sell_box span { margin: 0 3px 0 15px; }
#productinfo .sell_box b { font-size: 36px; }
#productinfo .buyBtns { margin-top: 30px; }
#productinfo .buyBtns a {padding: 10px 0;display: flex;align-items: center;justify-content: center;gap: 20px;}
#productinfo .buyBtns a svg{fill:white}

/* orderfunction */
#orderfunction a[data-action="plusBtn"] { margin: 0 2px; width: 35px; height: 35px; background: rgba(var(--secondary-rgb), .3); border-radius: 5px; line-height: 30px; font-weight: 600; font-size: 28px; }
#orderfunction a.limit[data-action="plusBtn"] { line-height: 27px; font-size: 33px; }
#orderfunction input { margin: 0 5px; width: 30px; border-width: 0 0 1px; }
#orderfunction .addcar { float: right; }

/* productTabs */
#productTabs .tabs { margin-bottom: 30px; background: rgba(var(--black-rgb), .08); }
#productTabs .tabs li a { padding: 15px 30px; }
#productTabs .tabs li a:before { position: absolute; width: 0; height: 3px; background: var(--primary); display: block; bottom: 0; left: 0; content: ""; }
#productTabs .tabs li.active a:before { width: 100%; }

@media screen and (max-width: 1024px){
	#product_list{grid-template-columns: repeat(3, 1fr);}
}
@media screen and (max-width: 980px){
    #productdetail{display:block;margin: 22vw 0 5vw;}
    #imglist{margin-bottom:40px;}
	#product_list{grid-template-columns: repeat(2, 1fr);margin: 22vw 0 5vw;}
}
@media screen and (max-width: 640px){
	#product_list{grid-template-columns: 1fr;width: 90%;margin: 30vw auto 13vw;}
}