/* 产品样式文件 */
#product-container {
		background: url(../../img25/bg.jpg) no-repeat center top;
}
#product-content {
	 width: 90%;
	 margin: 0 auto;
	 position: relative;
}
#probanner {
	position: relative;
	padding-top: 170px;
}
#probanner a.buybtn {
		position: absolute;
		z-index: 2;
		bottom: 170px;
		left: 25%;
		transform: translateX(-50%);
		width: 160px;
		height: 36px;
		line-height: 36px;
		text-align: center;
		color: #fff;
		font-size: 14px;
	    border: 1px solid #fff;
		transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 1200px) {

	#probanner a.buybtn {
		bottom: 150px;
		width: 150px;
		height: 34px;
		line-height: 34px;
		font-size: 13px;
	}
}

@media (max-width: 992px) {
    #probanner {
        position: relative;
        padding-top: 120px;
    }
	#probanner a.buybtn {
		bottom: 130px;
		width: 140px;
		height: 32px;
		line-height: 32px;
		font-size: 12px;
	}
}

@media (max-width: 768px) {
	#probanner a.buybtn {
		bottom: 80px;
		width: 130px;
		height: 30px;
		line-height: 30px;
		font-size: 11px;
	}
    #probanner {
        padding-top: 120px;
    }
}

@media (max-width: 576px) {
	#probanner a.buybtn {
		bottom: 35px;
		width: 120px;
		height: 28px;
		line-height: 28px;
		font-size: 10px;
	}
	
	#probanner {
		padding-top: 100px;
	}
}
/* 客户案例列表样式 */
.prohd-container {
    margin: 0 auto 100px;
}

.prohd-swiper-container {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    
}

.prohd-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.prohd-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 宽高比 */
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    background-color: #fff;
}

.prohd-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 20px;
}

.prohd-text {
    font-family: MontReg;
    font-size: 16px;
    color: var(--hcolor);
    text-align: center;
    margin: 0;
}

/* 自定义分页器样式 */
.prohd-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.prohd-pagination-line {
    width: 300px;
    height: 6px;
    border: 1px solid var(--hcolor);
    border-radius: 3px;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
}

.prohd-pagination-progress {
    height: 100%;
    background-color: var(--hcolor);
    position: absolute;
    border-radius: 3px;
    top: 0;
    left: 0;
    width: 50%; /* 默认显示3列，所以初始进度为1/3 */
    transition: width 0.3s ease;
}

.prohd-pagination-text {
    font-family: AboretoReg;
    font-size: 14px;
    color: var(--hcolor);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .prohd-pagination-line {
        width: 180px;
    }
    #product-container {
            background: url(../../img25/bg.jpg) repeat-y center top;
    }
}

@media (max-width: 992px) {
    .prohd-pagination-line {
        width: 160px;
    }
    
    .prohd-pagination-progress {
        width: 50%; /* 2列布局，进度为1/2 */
    }
}

@media (max-width: 768px) {
    .prohd-pagination-line {
        width: 140px;
    }
    
    .prohd-pagination-progress {
        width: 50%; /* 2列布局，进度为1/2 */
    }
    
    .prohd-text {
        font-size: 14px;
    }
    
    .prohd-pagination-text {
        font-size: 12px;
    }

    .prohd-container {
        margin: 0 auto 50px;
    }
}

@media (max-width: 576px) {
    .prohd-pagination-line {
        width: 120px;
    }
    
    .prohd-pagination-progress {
        width: 100%; /* 1列布局，进度为1 */
    }
    
    .prohd-text {
        font-size: 13px;
    }
    
    .prohd-pagination-text {
        font-size: 10px;
    }
    
    .prohd-slide {
        padding: 10px;
    }

    .prohd-pagination {
        margin-top: 10px;
    }
}

/* 字体设置 */
.new-pro-category {
    font-family: MontReg;
}

.cn-title, .cn-text, .main-category {
    font-family: MontReg;
}

.en-title, .en-text, .sub-categories {
    font-family: AboretoReg;
}

/* 标题样式 */
.category-title {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.category-title2 {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
}

.cn-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 300;
    margin: 0;
    color: var(--hcolor);
}
.en-title {
    font-size: 16px;
    margin: 0;
    font-weight: normal;
    color: var(--hcolor);
}
/* 容器样式 */
.category-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;
    margin: 0 auto 50px;
}

/* 分类项样式 */
.newcategory-item {
    display: flex;
    flex-direction: column;
}

/* 图片样式 */
.item-image {
    position: relative;
    width: 100%;
    height: 426px;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}
.cn-text {
    font-size: 24px;
    font-weight: normal;
    color: var(--hcolor);
    margin: 0;
}

.en-text {
    font-size: 14px;
    font-weight: normal;
    color: var(--hcolor);
    margin: 0;
    letter-spacing: 1px;
}

/* 分类内容样式 */
.item-categories {
    flex: 1;
}

.item-border {
    border-top: 1px solid #7d938c;
    border-bottom: 1px dashed #7d938c;
    padding: 15px 0;
}
.item-border2 {
    border-bottom: 1px dashed #7d938c;
    padding: 15px 0;
}
.item-border3 {
    border-bottom: 1px solid #7d938c;
    padding: 15px 0;
}

.main-category {
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 10px 0;
    color: var(--hcolor);
    display: block;
    text-align: left;
}
.sub-categories {
    font-size: 12px;
    color: var(--hcolor);
    margin-top: -30px;
    text-align: right;
}

.sub-categories p {
    margin: 0 0 5px 0;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .category-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .category-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cn-title {
        font-size: 24px;
    }
    
    .en-title {
        font-size: 14px;
    }
    .item-border, .item-border2, .item-border3 {
        padding: 10px 0;
    }
    .item-image {
        margin-bottom: 20px;
    }
    .category-container {
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .category-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cn-title {
        font-size: 18px;
    }
    
    .en-title {
        font-size: 12px;
    }
    
    .cn-text {
        font-size: 20px;
    }
    
    .en-text {
        font-size: 12px;
    }
}


/* 香氛精品列表样式 */
.projp-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 30px auto;
}

.projp-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px;
}

.projp-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.projp-image {
    width: 100%;
    max-width: 530px;
    margin-bottom: 15px;
}

.projp-image img {
    width: 100%;
}

.projp-text {
    flex: 1;
    display: flex;
    align-items: center;
}
.projp-text span {
    font-family: MontReg;
    font-size: 16px;
    color: var(--hcolor);
    text-align: left;
    display: block;
    width: 100%;
}

.projp-text2 {
    flex: 1;
    margin-top: 15px;
    font-size: 16px;
}
.projp-text2 .pnext-title{
    font-size: 16px;
    color: var(--hcolor);
    display: flex;
    align-items: baseline;
}
.projp-text2 .pnext-title p{
    font-size: 12px;
    color: var(--hcolor);
    font-family: AboretoReg;
    line-height: 24px;
    margin: 0;
    margin-left: 10px;
}
.projp-text2 .pnext-info{
    font-size: 12px;
    color: var(--hcolor);
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin: 0;
}
.projp-text2 .pnext-info p {
    line-height: 24px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .projp-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projp-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projp-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .projp-text2 {
        margin-top: 5px;
        font-size: 16px;
    }
    .projp-text span {
        font-size: 14px;
    }
    .category-title {
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .category-title2 {
        margin-top: 60px;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .projp-container {
        grid-template-columns: 1fr;
    }
    
    .projp-item {
        padding: 10px;
    }
    
    .projp-text span {
        font-size: 13px;
    }
}


/* 客户案例滑动的列表 */
