@charset "utf-8";
/* CSS Document */
.gwc_top{margin-top: 90px;background: #000; }
.gwc_top_lc{display: flex;align-items: center;justify-content: center;padding: 80px 0;}
.gwc_top_lc a{font-size:20px;color: #fff; font-weight:bold; opacity: .7;cursor: pointer;}
.gwc_top_lc span{font-size:25px;color: #fff; padding: 0 15px;opacity: .7;}
.gwc_top_lc a.on{opacity:1; display: inline-block; border-bottom: 2px solid #ff9933;}
.gwc_top_lc a:hover{opacity:1}

/*购物车cont*/
.gwc_qd{margin-top:50px;}
.gwc_xq{display:flex;justify-content: space-between;padding-bottom:50px;}
.gwc_xq_l{width:800px;overflow: hidden;}
.gwc_xq_r{width:auto;flex: 1;height: auto; margin-left: 30px;}

/*购物车列表*/
.container{color: #333; width:800px;padding: 0px;}
.container td img{width: 80px;height: auto;}
.container thead{width:100%;height: auto; border-bottom: 2px solid #00000013; padding: 15px 10px;  color: #242424; font-size: 16px;}
.container thead tr{border:none;}
.container thead tr th{text-align: left;padding: 15px 12px;}
.container .table{width:100%;height: auto; border-collapse: collapse;  border-spacing: 0;}

table td {
    padding: 15px 12px;
    border-bottom: 1px solid #0000001b;
    vertical-align: middle;
    text-align: start;
}
table td h3{display:none;}


.btn_yc{border:none;outline: none;background: none;font-size: 10px; cursor: pointer;}
.js_btn{width:auto;height:auto;}
.js_btn .btn-primary{
	padding: 0 5px;
    min-width: 25px;
    min-height: unset;
    height: 42px;
    border: 2px solid #0000001a;transition: all .25s ease; cursor: pointer;
    background: #00000000;
    box-shadow: none;}

.js_btn .lable{width:30px;border: 2px solid #0000001a;border-right:none;border-left:none;outline: none;height: 38px;text-align: center;}
.js_btn_{width: 80px;display: flex;align-items:center;border-radius: 5px; overflow: hidden;}
.subtal{color: #ff9933;}

.js_btn .btn-primary:hover{
	color: #fff;
    background-color: #ff9933;
    border-color: #ff9933;
}




/*搜索*/
.gwc_xq_serch{width:100%; height: auto;margin-top: 50px;display: flex;align-items: center;justify-content: space-between;}
.gwc_xq_serch_{display: flex;flex-wrap: wrap; flex-grow: 1;gap: 10px;text-align: start;}
.gwc_xq_serch_ input{width: 230px;height:42px;padding: 0 15px;border:2px solid #0000001a; border-radius: 5px; background-color: rgb(0 0 0 / 0%);
vertical-align: middle;font-size: 14px;transition: border-color .5s ease;}
.gwc_xq_serch_btn{flex: 0 0 auto; border-radius:5px;color:#fff; background-color: #ff9933;cursor: pointer;transition: all .25s ease;padding: 10px 15px;display: flex;align-items: center;}
.gwc_xq_serch_btn:hover{background-color:#e98c2f;}
.search_gwc_btn{background-color:#f7f7f7;border-radius:5px;color:#333;cursor: pointer;padding: 10px 15px;opacity: 0.6;}
/*right*/
.cart-totals-inner{
    padding: 25px;
    border: 3px solid #00000013;
    
}

.cart-totals-inner>h2 {
    text-transform: uppercase;
    font-size: 22px;font-weight: 600;margin-bottom: 15px;
}


.shop_table{width:100%; height: auto;}
.shop_table th{ border-bottom: 1px solid #0000001b;text-align: left;font-weight:500;font-size: 14px;}
.shop_table td{text-align: end;}
.wc-proceed-to-checkout{border-radius:5px;color:#fff; background-color: #ff9933;cursor: pointer;transition: all .25s ease;padding: 10px 15px;display: flex;align-items: center;justify-content: center;margin-top: 10px;}
.wc-proceed-to-checkout a{color:#fff;}
.wc-proceed-to-checkout:hover{background-color:#e98c2f;}
.cart-totals-inner table .cart-subtotal .amount {color: #777777;font-weight: 400;font-size: 13px;}
.woocommerce-shipping-methods li,.woocommerce-shipping-destination{color: #777777;font-weight: 400;font-size: 13px;}
.cart-totals-inner tr.shipping td>* { margin-bottom: 10px;}
tr.order-total strong .amount {font-size: 1.3em;color: #ff9933;font-weight: 600;}
.cart-totals-inner table tr:last-child :is( th, td) { border-bottom: none;}




 /* 隐藏删除提示框，默认不显示 */
.delete-prompt {padding: 20px; margin:30px 0; background-color:#459647; color: #fff; display: flex;align-items: center;}
.delete-prompt p {font-size: 22px;display: flex;align-items: center;font-size: 13px;}
.delete-prompt p b{font-size: 22px;margin-right: 20px;}
.delete-prompt p strong{font-size: 13px;font-weight: normal;}
.delete-prompt button{background:none;border:none;outline: none;border-bottom: 1px solid #fff; color: #fff;padding: 0px; cursor: pointer;}
.delete-p_{display: flex;align-items: center;}

/* 加载遮罩层 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#ffffffa6; /* 半透明背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* 确保在 table 之上 */
}

/* 旋转的加载图标 */
.spinner {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.gwc_qd{position:relative;}
.gwc_qd_ts{width:auto;flex: 1;display: flex;align-items: center;}



/*列表为空时*/
.no_cont_show{width: 100%;display: flex;flex-direction: column;align-items: center;}
.no_cont_show img{width:14%;}
.no_cont_show .text{width:auto;display: flex;flex-direction: column;align-items: center;}
.no_cont_show .text h2{width:auto;text-align: center; font-size:45px; color: #333;font-weight: 600;padding: 15px 0;}
.no_cont_show .text p{width:530px;color: #777777;font-size: 13px;line-height: 22px;text-align: center;}
.no_cont_show .text .btn_gogo a{border-radius:5px;color:#fff; background-color: #ff9933;cursor: pointer;transition: all .25s ease;padding: 10px 15px;display: flex;align-items: center;justify-content: center;margin-top: 10px; color: #fff; display: inline-block;margin-top: 20px;margin-bottom: 50px;}

.delete-prompt {
    display: none;
}

.delete-prompt.show {
    display: block;
}




/*mobile 适配*/
@media screen and (max-width:900px){
	.gwc_top_lc{flex-direction: column;padding: 20px 0px;}
	.gwc_top_lc span{display: none;}
	.gwc_top_lc a.on{display:block;border-bottom: 0px;}
	.gwc_xq{flex-direction: column;}
	
	.gwc_xq_l .container{width:100%;margin: 0;}
	.gwc_xq_l{width:100%;}
	.container thead{display:none;}
	.container .table td.product-thumbnail {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    overflow: hidden;
    max-height: 115px;width: 100px;margin: 0px;padding: 0px;
    border: none;
   
}
	.container td img{width:100px;}

	
	.container .table td{padding:0px; border-bottom: 1px dashed #0000001b;width:calc(100% - 120px);margin-left:120px;padding-bottom:5px; }
	
	.container .table tr {
    position: relative;
    display: flex; 
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #0000001b;
}
	
	
	.container .table td.close_sp{position:absolute;right: 0px; top: 0px; width: 20px;border: none;}
	.container .table td.sp_name{border: none;width:calc(100% - 140px);text-align: justify;font-weight: bold;font-size: 13px;}
	.js_btn .btn-primary{height:30px;}
	.js_btn .lable{height:26px; }
	.table td h3{display:block;font-size: 11px;color:#777777}
	.container .table td{display:flex;justify-content: space-between;align-items: center;}
	.subtal{font-weight:600;}
	.container .table tr td:last-child{border:none;}
	
	.gwc_xq_serch{flex-direction:column-reverse;margin-top: 20px;}	
	.gwc_xq_serch_{padding: 25px;border: 2px dashed #0000001b;}
	.gwc_xq_serch_ input{width:100%;}
	.gwc_xq_serch_btn{width:100%;padding: 10px 0px;display:flex;justify-content: center;}
	.search_gwc_btn{width:100%;border-radius: 5px;display:flex;justify-content: center;margin-bottom:25px;}
	
	.gwc_xq_r{margin-left:0px;width: 100%;margin-top:8%;}
	.gwc_qd_ts {align-items: flex-start;flex-direction: column;}
	
	.close_sp .loading-overlay{position: fixed;}
	.spinner{top:30vh!important; position: absolute;}
	
	.no_cont_show .text h2{font-size: 16px;}
	.no_cont_show .text p{width:80%;display: block;}
	
	
	.wd-grid-g{width:100%;}
	.gwc_top{margin-top: 60px}
	
	
	
	
	
	
	
	
	
	
	
}




.mobile-search-results {
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: cover;
}

.search-result-item h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.search-result-item p {
    margin: 5px 0 0;
    color: #e4393c;
    font-weight: bold;
}


.product-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.product-item {
    text-align: center;
    border: 1px solid #eee;
    padding: 10px;
}

.product-item img {
    max-width: 100%;
    height: auto;
}

.price {
    color: #ff4444;
    font-weight: bold;
}

/* 响应式处理 */
@media (max-width: 1200px) {
    .product-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-row {
        grid-template-columns: repeat(2, 1fr);
    }
}




















