* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

html, body {
    width: 100%;
    height: 100%;
	font-family: 'Tenor Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','游ゴシック','Yu Gothic',sans-serif;	
}
.main {
    width: 100%;
    height: 200vh;
    margin: 0 auto;
    max-width: 680px;
    background-color: #fbfbfb; /* 基础底色 */
    background-image: 
		radial-gradient(at 0% 0%, rgb(238 244 255 / 60%) 0px, transparent 50%),
		radial-gradient(at 50% 30%, rgb(248 246 253 / 50%) 0px, transparent 60%), 
		radial-gradient(at 100% 100%, rgb(241 255 248 / 60%) 0px, transparent 50%)
}
.home-logo {
    width: 30%;
    margin-left: 10px;
}
.banner {
	margin-top:45px;
}
.ads-cates-content{
	position: relative;
}
.shodow {
	box-shadow: 1px 1px 5px #e9e8e8;
}
.ads-cates-img{
	margin: 10px;
	grid-row: span 2;
}
.prim-content{
	position: absolute;
    bottom: 14%;
	width: 50%;
}
.prim-prods{
	display: flex;
    flex-direction: row;
    align-items: center;
	justify-content: space-around;
	margin: 0px 10px;
}
.p-prod-img{
	width:70px;
	aspect-ratio: 1 / 1;
}
.p-prod-img img{
	 width: 100%;
  height: 100%;
  object-fit: cover;	
	border-radius: 6px;
}
.p-prod-title{
	text-align: center;
	font-size: 12px;
    font-weight: 500;
}
.grid {
    margin: 0 auto;
}

.grid-sizer {
    width: calc(50% - 10px); /* 默认2列 */
}

.grid-item {
    width: calc(50% - 10px);
    margin-bottom: 10px;
    min-height: 180px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .grid-sizer {
        width: calc(33.333% - 10px); /* 平板端3列 */
    }
    .grid-item {
        width: calc(33.333% - 10px);
    }
}

@media (min-width: 1024px) {
    .grid-sizer {
        width: calc(33% - 10px); /* 桌面端4列 */
    }
    .grid-item {
        width: calc(33% - 10px);
    }
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.m-line{
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.m-title {
    display: inline-block;
    position: relative;
}
.m-title:before {
    display: block;
    content: "";
    height: 2px;
    width: 100%;
    background-color: #FF9500;
    position: absolute;
    bottom: 0px;
    margin-bottom: -3px;
}

.prod-detail{
	padding: 15px 10px;
    background: #fff;
    margin: 0 10px;
	border-radius: 0px 10px;
}
.pc-content{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 10px 0px 20px;
}
.pc-info {
    padding: 5px 2px;
}
.prod-cates-info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}
.prod-cates-info img {
    #background: #f5f5f5;
    #border-radius: 10px;
    width: 90%;
}
.prod-cates-name {
    font-size: 10px;
    padding-top: 2px;
}
.pc-swiper-pagination {
    bottom: -3px !important;
}
.pc-swiper-pagination .swiper-pagination-bullet {
    margin: 1px 4px;
    width: 12px;
    height: 4px;
    border-radius: 10px;
    opacity: 1;
    border-color: #3d3d3d;
	background-color: #3d3d3d;
}
.banner-swiper-pagination .swiper-pagination-bullet {
    margin: 1px 4px;
    width: 12px;
    height: 4px;
    border-radius: 10px;
    opacity: 1;
    border-color: #dcdcdc;
    background-color: #dcdcdc;
}
.banner-swiper-pagination .swiper-pagination-bullet-active {
    margin: 1px 4px;
    background-color: #f3b215 !important;
}
.banner-swiper-pagination {
    text-align: right !important;
}
.small_pro{
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 1px 1px 5px #e9e8e8;
    padding-bottom: 5px;
    margin-bottom: 16px;
}
.grid .p-name {
    width: 100%;
	font-size: 12px;
    margin: 0.325rem 0px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
}
.grid .p-price{
	color: #484848;
    font-size: 1em;
    line-height: 1em;
	font-size: 14px;
    font-weight: bold;
    width: 55%;
}
.grid .p-txt{
	padding: 0px 5px 5px;
	display: flex;
    flex-direction: column;
    align-items: flex-start;
	font-size: 12px;
}
.grid .add-to-cart{
    right: 2px;
    bottom: 0px;
    color: white;
    padding: 2px 10px 0px;
}
.grid .add-to-cart img{
	width:20px;
}
.p-pd-cart{
	display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}
.prod-detail .loading {
    padding: 20px;
    text-align: center;
}
.no-title {
    display: none;
    padding: 20px;
    text-align: center;
    background: #fff;
}
.review{
	display: flex; 
	flex-direction: row;
	align-items: center;
}   
.r_p_star{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
	padding: 2px 0px;
}   
.r_p_star li img {
	width: 13px;
	vertical-align: unset !important;
}   
.title_line{
	display: inline-block;
    position: relative;
    height: 20px;
    margin-left: 10px;
    background: #fff;
   	padding: 5px 20px 5px 10px;
    border-radius: 10px 10px 0 0;
}
.title_line:before {
    display: block;
    content: "";
    height: 2px;
    width: 80%;
    background-color: #FF9500;
    position: absolute;
    bottom: 0px;
    margin-bottom: -5px;
}

.title_line em {
    color: #222;
    font-size: 15px;
    position: relative;
    top: 1px;
}
.ads-cates-content{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px; 
}

