/*****************************
* PHPwork官方网址： ruanjiesoft.com
* PHPwork应用官方QQ群： 317075601
* PHPwork应用开发者QQ： 1980572700
* 不得使用本软件用于非法用途，不得违反国家法律。
*************************************/

a,a:hover,a:active{color:inherit;text-decoration: none;}

.rj-container{max-width:1080px !important;margin:0 auto;margin-bottom:80px;}

/* 背景颜色 */
.rj-bg{width:100%;height:150px; position:absolute;z-index:-100;background-color: #ffd100;}

/* 点击加载更多... */
.rj-load_more{margin-top: 1em;margin-bottom: 70px;text-align: center;color:#888;}

/* 卡片式框 */
.rj-card{margin:15px;padding:5px;border-radius:4px;overflow: hidden;box-shadow: 0 0 4px #ddd;background-color:#fff;font-size: 14px;}

/*  版权区 */
.rj-copy{ clear: both; text-align:center;line-height: 150%;font-size: 13px;}

/* 顶部导航条 返回 title 主页 */
.rj-appbar{display: flex;justify-content: space-between;padding:12px 15px;}

/* 底部导航 */
.rj-tabbar{ position: fixed;bottom: 0; display: flex;justify-content: space-around;align-items: center; 
			width: 100%;height: 60px;padding: 0;box-shadow: 0 0 5px 0px rgba(153, 153, 153,0.5);text-align: center;	
			background-color: rgba(255,255,255,0.8);backdrop-filter: blur(10px);font-size:12px;}
.rj-tabbar img{ width: 30px;height: 30px; object-fit: cover;}

.rj-language-switch{position:fixed;top:50%;right:0;transform:translateY(-50%);z-index:1200;}
.rj-language-trigger{display:flex;align-items:center;gap:10px;width:88px;height:52px;padding:0 14px 0 10px;border:none;border-radius:16px 0 0 16px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(15,23,42,.16);color:#111827;font-size:13px;font-weight:700;transform:translateX(62px);transition:transform .2s ease,box-shadow .2s ease;background-clip:padding-box;}
.rj-language-switch:hover .rj-language-trigger,
.rj-language-switch.is-open .rj-language-trigger,
.rj-language-trigger:focus-visible{transform:translateX(0);box-shadow:0 14px 32px rgba(15,23,42,.2);}
.rj-language-trigger__arrow{display:flex;align-items:center;justify-content:center;min-width:18px;font-size:14px;}
.rj-language-trigger__body{display:flex;align-items:center;gap:8px;white-space:nowrap;}
.rj-language-panel{padding:16px;text-align:start;}
.rj-language-panel__title{font-size:16px;font-weight:700;color:#111827;}
.rj-language-panel__subtitle{margin-top:6px;margin-bottom:12px;font-size:12px;color:#6b7280;}
.rj-language-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#111827;font-size:14px;text-align:start;}
.rj-language-option + .rj-language-option{margin-top:8px;}
.rj-language-option.is-active{border-color:#f5c400;background:#fff9db;}
.rj-language-layer{border-radius:16px;overflow:hidden;}
.rj-language-layer .layui-layer-content{padding:0;text-align:initial;}

html[dir="rtl"] .rj-language-option{flex-direction:row-reverse;}



/********************/
/* 首页 轮播 */
.rj-index_slide{ }
.rj-index_slide .swiper-slide img { display: block; width: 100%; object-fit: cover; }
.rj-index_slide .swiper-pagination {  width: 98% !important; text-align: end; }
/* 首页 公告 */
.rj-index_notice{ display:flex;align-items: center;justify-content: space-between;padding:2px 5px;}
.rj-index_notice .rj-icon{ color: #ff5722; margin-inline-end: 10px;}
.rj-index_notice .rj-list { flex: 1;height: 25px;}
.rj-index_notice .rj-list .swiper { width: 100%; height: 25px; overflow: hidden; }
.rj-index_notice .rj-list .swiper .swiper-slide{ line-height: 26px;}
.rj-index_notice .rj-more{}

/* 首页顶部导航 */
.rj-index_top_nav { display:flex;flex-wrap: wrap;margin-top: 10px;}
.rj-index_top_nav .nav_list { width: 20%;height:70px;line-height: 16px;}
.rj-index_top_nav .nav_list div{ text-align:center;padding: 5px 0;}
.rj-index_top_nav .nav_list div img{ width:30px}


/* 首页 推荐商品 */
/* 首页 为您推荐 */
.rj-index_goods_recommend {margin-bottom: 10px;}
.rj-index_goods_rand {margin-bottom: 10px;}
.rj-index_goods_recommend .goods_name, .rj-index_goods_rand .goods_name { padding-inline:10px;margin-top: 5px;font-size: 16px;font-weight: 600;}
.rj-index_goods_recommend .list, .rj-index_goods_rand .list { padding-inline:10px;}
.index_goods { display:flex;margin-top: 8px;}
.index_goods .goods_image{ width:20%;display: flex;align-items: center;}
.index_goods .goods_image img{  width:100%}
.index_goods .goods_detail{ width:78%;padding-inline-start:2%}
.index_goods .goods_title{ text-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;line-clamp: 2;-webkit-box-orient: vertical;}
.index_goods .goods_price{ display:flex;justify-content: space-between;font-size: 14px;color: #aaa;}
.index_goods .goods_stock{ text-align: end;}
.index_goods .goods_commission{ display:flex;font-size: 14px;justify-content: space-between;}
.index_goods .goods_buy{ min-width: 65px;padding-inline:10px;background-color: #ffc300;color: #fff;text-align: center;height: 25px;line-height: 25px;border-radius: 10px;}

/* 首页 推荐文章 */
.rj-index_article {padding:10px 15px;box-sizing: border-box;}
.rj-index_article .rj-title{ display:flex;justify-content: space-between;align-items: center;margin-bottom:10px;}
.rj-index_article .rj-title h2{font-size: 16px;font-weight: 600;padding: 8px 0;}
.rj-index_article .rj-list { }
.rj-index_article .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%; }
.rj-index_article .rj-list .rj-hd{ margin-inline-end: 16px; width: calc((100vw - 20px)/3); }
.rj-index_article .rj-list .rj-hd img{ width: 100%;aspect-ratio: 4 / 3; object-fit: cover;border-radius: 6px;}
.rj-index_article .rj-list .rj-bd{ display: flex; flex-direction: column; justify-content: space-between;
									width: calc(100% - (100vw - 20px)/3 - 16px);}
.rj-index_article .rj-list .rj-bd .rj-title{ display: -webkit-box; margin-bottom: 1px;
												-webkit-box-orient: vertical;    -webkit-line-clamp: 2;overflow: hidden;
												white-space: normal; line-height: 1.4;font-size: 16px; }
.rj-index_article .rj-list .rj-bd .rj-tip{color: #bbb;}
.rj-index_article .rj-list .rj-bd .rj-date{text-align: end;color: #bbb;}


/* ** 公告列表页 */
.rj-notice_list { margin: 10px;}
/* *** 公告详细页 */
.rj-notice_detail { margin: 10px;}
.rj-notice_detail img{ max-width: 100% !important;height: auto !important;}
.rj-notice_detail h2.rj-title{margin:50px 0 30px;line-height:150%;font-size:24px;text-align:center;}
.rj-notice_detail p.rj-img{ text-align:center;margin-bottom:15px;}
.rj-notice_detail .rj-content{ padding: 10px;min-height:500px;background-color:rgba(255,255,255,0.8);}

/* ***  单页 */
.rj-page_detail { margin: 10px;}
.rj-page_detail img{ max-width: 100% !important;height: auto !important;}
.rj-page_detail h2.rj-title{margin:50px 0 30px;font-size:24px;text-align:center;}
.rj-page_detail p.rj-img{ text-align:center;margin-bottom:15px;}
.rj-page_detail .rj-content{ min-height:500px;padding: 10px;background-color:rgba(255,255,255,0.8);}


/* ** 商品分类*/
.rj-category_tab{position: relative;display: flex;   justify-content: space-between;}
.rj-category_tab .rj-nav{ position: fixed;top:0;bottom:53px; width:25%;background-color: #F5F5F5;overflow: hidden;OVERFLOW-Y: auto; OVERFLOW-X:hidden;}
.rj-category_tab .rj-nav ul li{
	min-height: 50px;
	padding: 10px 8px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.35;
	font-size:15px;
	color:#000;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
}
.rj-category_tab .rj-nav .rj-category_selected{background:#fff;border-left:3px solid #f00;color:#f00 !important;}

.rj-category_tab .rj-list{ position: absolute;top:0;right:0;margin:0;width: 75%; min-height: 500px; overflow: hidden;OVERFLOW-Y: auto; OVERFLOW-X:hidden;}
.rj-category_tab .rj-list .goods_list_content{ margin-left:5%}

.rj-category_tab .for_goods_list{ display:flex;width:100%;padding-top: 10px;padding-bottom: 5px;border-bottom: 1px solid #F5F5F5;align-items: center;}
.rj-category_tab .sort_goods_img{ width: 30%;}
.rj-category_tab .sort_goods_content{ width:70%;margin-inline-start: 3%;}
.rj-category_tab .sort_goods_title{ font-size:15px}
.rj-category_tab .sort_goods_salenum{ font-size: 12px;color: #A6A6A6;display: flex;}
.rj-category_tab .price_cart { display: flex;justify-content: space-between;margin-top: 3px;}
.rj-category_tab .price_cart .sort_goods_price{ font-size: 15px;color: #FC5554;}
.rj-category_tab .price_cart .goods_buy{ width: 65px;background-color: #ffc300;color: #fff;text-align: center;height: 25px;line-height: 25px;border-radius: 10px;}

/* *** 商品详细 goods_detail.tpl */
.rj-goods_detail .detail_title{ font-size: 17px;font-weight: bold;}
.rj-goods_detail .detail_price{ display: flex;justify-content: space-between;margin-top: 10px;}
.rj-goods_detail .detail_price .rj-price{font-size: 24px;color: #E8B647;}
.rj-goods_detail .detail_price .rj-price::first-letter{font-size: 0.7em;}
.rj-goods_detail .detail_tip{ margin: 10px auto;font-size: 15px;}
.rj-goods_detail .rj-detail_content img{max-width:100% !important;text-align:center;}
/* *** 商品详细 底部下单 */
.rj-goods_detail .rj-tabbar_order{position: fixed; bottom: 0;z-index: 500;display: flex;width: 100%;
									background-color: #fff;box-shadow:0 -4px 5px rgba(192, 191, 196, 0.2); }
.rj-goods_detail .share_button{flex:0 0 38%;border:none;background:#111827;color:#fff;text-align:center;font-size:16px;height:45px;line-height:45px;}
.rj-goods_detail .buy_button{ flex:1 1 auto;background-color: #F3DAA3;line-height: 45px;text-align: center;font-size: 17px;height: 45px;border-radius: 2px;}
.rj-goods_detail .buy_button a{ color: #FAF0DA;}
.rj-share-layer{border-radius:18px 18px 0 0 !important;overflow:hidden !important;}
.rj-share-qr-layer{border-radius:18px !important;overflow:hidden !important;}
.rj-share-sheet{padding:18px 18px 24px;background:#fff;}
.rj-share-sheet__title{font-size:17px;font-weight:600;text-align:center;color:#111827;}
.rj-share-sheet__actions{display:flex;gap:12px;margin-top:18px;}
.rj-share-option{flex:1;border:none;border-radius:14px;background:#f8fafc;padding:16px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#111827;font-size:14px;}
.rj-share-option i{font-size:24px;}
.rj-share-option .fa-whatsapp{color:#25d366;}
.rj-share-option .fa-qrcode{color:#2962FF;}
.rj-share-qrcode{padding:22px 18px 20px;background:#fff;text-align:center;}
.rj-share-qrcode__title{font-size:17px;font-weight:600;color:#111827;}
.rj-share-qrcode__image{margin-top:16px;}
.rj-share-qrcode__image img{width:220px;max-width:100%;border-radius:12px;background:#fff;padding:10px;box-shadow:0 6px 24px rgba(15,23,42,.12);}
.rj-share-qrcode__tip{margin-top:14px;font-size:13px;line-height:1.5;color:#6b7280;}
.rj-share-qrcode__actions{display:flex;flex-direction:column;gap:10px;margin-top:18px;}
.rj-share-qrcode__btn{display:block;border:none;border-radius:12px;background:#2962FF;color:#fff;padding:12px 14px;font-size:14px;text-decoration:none;}
.rj-share-qrcode__btn--ghost{background:#f3f4f6;color:#111827;}
html[dir="rtl"] .rj-share-sheet__actions{flex-direction:row-reverse;}



/* ** 文章分类页 */
.rj-article_category {padding: 0 15px;}
.rj-article_category  h2{margin: 15px 0;font-size: 18px;font-weight: normal;}
.rj-article_category .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%;border-top: 1px solid #eee; }
.rj-article_category .rj-list .rj-hd{    margin-inline-end: 16px;    width: calc((100vw - 40px)/3); }
.rj-article_category .rj-list .rj-hd img{width: 100%;aspect-ratio: 4 / 3; object-fit: cover;border-radius: 6px;}
.rj-article_category .rj-list .rj-bd{ display: flex; flex-direction: column; justify-content: space-between;
										width: calc(100% - (100vw - 40px)/3 - 16px);}
.rj-article_category .rj-list .rj-bd .rj-title{ display: -webkit-box; margin-bottom: 5px;
													-webkit-box-orient: vertical;    -webkit-line-clamp: 2;overflow: hidden;
													white-space: normal; line-height: 1.4;font-size: 16px;
												}
.rj-article_category .rj-list .rj-bd .rj-tip{color: #bbb;}
/* ** 文章列表页 */
.rj-article_list {padding: 0 15px;}
.rj-article_list  h2{margin: 15px 0;font-size: 18px;font-weight: normal;}
.rj-article_list .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%;}
.rj-article_list .rj-list .rj-hd{ margin-inline-end: 16px; width: calc((100vw - 20px)/3); }
.rj-article_list .rj-list .rj-hd img{ width: 100%;aspect-ratio: 4 / 3; object-fit: cover;border-radius: 6px;}
.rj-article_list .rj-list .rj-bd{ display: flex; flex-direction: column; justify-content: space-between;
									width: calc(100% - (100vw - 20px)/3 - 16px);}
.rj-article_list .rj-list .rj-bd .rj-title{ display: -webkit-box; margin-bottom: 1px;
												-webkit-box-orient: vertical;    -webkit-line-clamp: 2;overflow: hidden;
												white-space: normal; line-height: 1.4;font-size: 16px; }
.rj-article_list .rj-list .rj-bd .rj-tip{color: #bbb;}
.rj-article_list .rj-list .rj-bd .rj-date{text-align: end;color: #bbb;}

/* *** 文章详细页 */
.rj-article_detail {margin: 15px 10px;}
.rj-article_detail .rj_title{padding: 20px 15px 10px;text-align: left;   font-size: 20px;  font-weight: 400;line-height:150%;margin-top:30px;}
.rj-article_detail .rj_author{padding:0 15px 10px;color: rgba(0,0,0,0.3);}
.rj-article_detail .rj-content{padding:10px; min-height:200px;background-color:rgba(255,255,255,0.8);}
.rj-article_detail .rj-content img{ max-width: 100% !important;height: auto !important;}


/* ** 个人中心 */
.rj-my {}
.rj-my .top_nav { display:flex;flex-wrap: wrap;margin-top: 10px;}
.rj-my .top_nav .nav_list { width: 20%;height:70px;line-height: 16px;}
.rj-my .top_nav .nav_list div{ text-align:center;padding: 5px 0;}
.rj-my .top_nav .nav_list div img{ width:30px}
/* ** 个人中心 */
.header{ background-color:#ffd100;display: flex;padding-top: 5%;height: 110px;width: 100%;}
.avatar{ width: 25%; display: flex;justify-content: center;}
.nickname{ text-align: left;font-size: 15px;}
.uid{ font-size: 12px;padding-top: 1%;color:#aaa}
.member_card{ font-size:12px;background-color: #000;color: #D7B877;height: 25px;line-height: 25px;padding-left: 5px;padding-right: 5px;border-radius: 3px;white-space: nowrap;flex-shrink: 0;}
.href{ color:#000}
.my-statistics-list{ width:45%;}
.my-statistics{ display:flex;justify-content: space-between;}
.my-statistics-title{ font-size:14px}
.my-statistics-desc{ display: flex;justify-content: space-between;}
.my-statistics-date{ font-size: 12px;display: inline-block;border: 1px solid #0099ff;color:#0099ff;padding: 0 8px;text-align: center;border-radius: 10px;white-space: nowrap;}
.my-statistics-number{ margin-top:5px}
.split-line{ width:100%;border-bottom:1px solid #eee;margin: 10px auto;}




/* *** 提现账号 */
.rj-list_item{ display: flex;padding-top: 15px;padding-left: 10px;}
.rj-chongzhi{width: 90%;margin:0 auto;padding: 20px 5px;}
.rj-chongzhi .rj-list_item div{line-height: 35px}
.rj-chongzhi .rj-list_item input{box-sizing: border-box;background-color: #f8f8f8;border: none;width: 100%;height: 35px;margin-bottom: 10px;padding: 5px 10px;}
.rj-chongzhi p{color:#00A1E8;}

/* 按钮 默认 金色 */
.rj_btn_primary{
	clear:both;display:block;width: 100%;  padding:8px 10px;overflow: hidden;
	background-color:#ffd100;  box-sizing:border-box;  
    font-size: 18px; text-align: center;  text-decoration: none;
    color: #fff;  border-radius: 5px;  border:none;  
}

/* 记录 */
.rj-record-list{ display: flex;padding: 10px;justify-content: space-between;align-items: center;border-bottom: 1px solid #eee;}
.rj-record-list:last-child{ border:none}

/* *** 下单*/
.rj-address{ position: relative;height: 65px;line-height: 65px;font-size: 18px;}
.rj-address .rj-address-i{ display: inline-block;width: 28px;border-radius: 50%;background-color: #EFB600;text-align: center;color: #fff;height: 28px;line-height: 28px;margin: 18px 15px 0 10px;font-size: 25px;}
.rj-confirm-button{ width: 40%;text-align: center;background-color: #EFB600;color: #fff;font-size: 17px;}
.rj-tabbar_order_pay{ position: fixed;bottom: 0;display: flex;justify-content: space-around;width: 100%;height: 50px;background-color: #fff;line-height: 50px;}
.rj-tabbar_order_pay .order-pay-price{ color:#F15956;font-size: 19px;padding-left: 5px;}

/*订单列表*/
.nav_order{background-color: #fff;height: 2em;line-height: 2em;}
.nav_order ul{display:flex; justify-content: center;}
.nav_order ul li{flex-grow:1;display: inline-block;padding: 0;border-bottom: 2px solid #fff;text-align:center; font-size:16px}
.nav_order ul li a{color: #000;text-decoration: none;}
.nav_order ul li:hover{ border-bottom: 1px solid #EFB600;}

.order_num{width:95%;height: 2.3em;line-height: 2.3em;margin-left:10px;border: 1px solid #ffffff;border-bottom-color: #F8F8F8;}
.goods_details{clear:both;width:98%;min-height:90px;border: 1px solid #ffffff;border-bottom-color: #F8F8F8;font-size:15px;}
.credit{clear:both;width:90%;margin-left:10px;height: 2.3em;line-height: 2.5em;}
.button{background-color: darkgray;border: none;width: 65px;border-radius: 3px;height: 20px;}
.rj-btn-daizhifu{margin-right:15px;padding:3px 10px 2px;border:1px solid #f00;border-radius: 15px;font-size:14px;color:#f00}
.rj-btn-daiqueren{margin-right:15px;padding:3px 10px 2px;border:1px solid #ccc;border-radius: 15px;font-size:14px;color:#000}


/* 屏幕大于 800px */
@media screen and (min-width:800px) {
	.rj-container,.rj-tabbar,.rj-tabbar_order,.rj-tabbar_order_pay{max-width:677px !important;}

    /*商品分类*/
    .rj-category_tab .rj-nav{width:180px;}
	/* 首页 内容 */
	.rj-index_article .rj-list .rj-hd{  height: 146.44444px;  width: 219.66667px; }
	.rj-index_article .rj-list .rj-bd{  width: calc(100% - 235.66667px);}
	/* ** 文章分类页 */
	.rj-article_category .rj-list .rj-hd{  height: 146.44444px;  width: 219.66667px; }
	.rj-article_category .rj-list .rj-bd{  width: calc(100% - 235.66667px);}
	/* ** 文章列表页 */
	.rj-article_list .rj-list .rj-hd{  height: 146.44444px;  width: 219.66667px; }
	.rj-article_list .rj-list .rj-bd{  width: calc(100% - 235.66667px);}

}

/* 根据系统的深色模式响应深色变量 */
@media (prefers-color-scheme: dark) {
	html{filter: invert(1) hue-rotate(180deg);}
	body{background: #fff;}
	img,video{filter: invert(1) hue-rotate(180deg);}

	input::placeholder{color:rgba(0,0,0,.3);}

}
