* {
    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: 100%;
    margin: 0 auto;
    max-width: 680px;
}
.banner {
	margin-top:45px;
}

.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: 10px 0 10px 10px;
	background: #f5f5f5
}
.pets-txt{
	background: #fff;
    padding: 5px 10px 10px 10px;
	font-size:14px;
}
.pets-price-off, .pets-top-price-off span {
    font-size: 1em;
    line-height: 1.5em;
    min-height: 1em;
    color: #484848;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.pets-price-off, .pets-top-price-off {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.pets-top-price-off .off {
    color: #ff9900 !important;
    margin-left: 10px !important;
}
.pets-name {
	font-size: 13px;
    margin: 0.325rem 0px;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;  /* 限制显示2行 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;       /* 设置合适的行高 */
    max-height: 2.8em;      /* 行高 × 行数，作为备用 */
}
.pc-content {
    display: grid;
    align-content: center;
    grid-template-columns: repeat(4, 24%);
    grid-gap: 5px;
    grid-auto-flow: row dense;
    justify-content: center;
    margin: 10px 0px;
}
.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: 45px;
}
.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;
}
