/* Products Page Styles */

/* Products Page Search */
.product-page-search {
    position: relative;
    max-width: 50%;
    margin: 0 auto 60px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.product-search-input {
    width: 100%;
    height: 50px;
    padding: 0 50px 0 20px;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #333;
    outline: none;
}

.product-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-search-btn:hover {
    color: #333;
}

/* Features Section - Vertical List Layout */
.features-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.feature-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.feature-left {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-img-circle {
    width: 157px;
    height: 157px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 30px;
    background-color: #f5f5f5;
}

.feature-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-label {


	font-family: 'Alibaba PuHuiTi-Medium';
    font-weight: 500;
	font-size: 20px;
}

.feature-right {
    flex: 1;
    padding-top: 20px;
}

.feature-right h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Alibaba PuHuiTi-Heavy';
font-weight: 900;
    color: #000;
}

.feature-right p {
   font-size: 20px;
   
    font-family: 'Alibaba PuHuiTi-Regular';
    color: #000;
    font-weight: 400;
    text-align: justify;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    group: relative;
}

.product-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-bg {
    transform: scale(1.05);
}

.product-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    padding-left: 40px;
}

.product-content h3 {
    font-size: 28px;
    font-family: 'Alibaba PuHuiTi-Medium';
    font-weight: 500;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    min-height: 60px;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.section-title{

	font-family: 'Alibaba PuHuiTi-Heavy';
	font-size: 40px;
	font-weight: 900;
	
	color: #231816;
}
.see-more {
    display: inline-block;
    padding: 12px 50px;
    background-color: #000;
    color: white;
    font-family: 'Alibaba PuHuiTi-Regular';
    font-weight: 400;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.see-more:hover {
    background-color: #333;
}

/* Key Products Section */
.key-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.key-product-item {
    text-align: center;
}

.key-product-img {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.key-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.key-product-img img:hover {
    transform: scale(1.05);
}
.key-product-name {
    font-size: 20px;
    font-family: 'Alibaba PuHuiTi-Medium';
    font-weight: 500;
    color: #231816;
    line-height: 1.4;
}

.contact-btn-container {
    text-align: center;
}

.contact-btn {
    display: inline-block;
    padding: 15px 80px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    transition: background-color 0.3s;

}

.contact-btn:hover {
    background-color: #004494;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-item {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .feature-left {
        width: 100%;
    }

    .feature-right {
        text-align: center;
        padding-top: 0;
    }

    .feature-right p {
        text-align: left;
    }

    .key-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .feature-img-circle {
        width: 200px;
        height: 200px;
    }

    .contact-btn {
        padding: 12px 40px;
        font-size: 14px;
    }
    .product-content{
        padding-left: 0;
        justify-content: center;
        align-items: center;
    }
}

/* Product List Page Styles */

/* Search Section */
.product-list-search-section {
    padding: 50px 0;
}

.search-box-centered {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: #eee;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Category Tabs */
.product-category-tabs-section {
    padding: 0px 0 20px 0;
    background: #fff;
}

.tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.category-tab {
    padding: 15px 40px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #1f2141;
    font-size: 20px;
    font-family: 'Alibaba PuHuiTi-Medium';
    font-weight: 500;
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
    background: #fff;
    margin-left: -1px;
}

.category-tab:first-child {
    margin-left: 0;
}

.category-tab:hover,
.category-tab.active {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
    z-index: 1;
}

@media (max-width: 768px) {
    .tabs-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 10px;
        /* Space for scrollbar */
    }

    .category-tab {
        flex: 0 0 auto;
        margin-left: 0;
        margin-bottom: 0;
        white-space: nowrap;
        min-width: auto;
        padding: 10px 20px;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .tabs-wrapper {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
}

/* List Product Item */
.list-product-item a {
    text-decoration: none;
    display: block;
}

.list-product-item .product-img-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f9f9f9;
    aspect-ratio: 1;
    width: 100%;
}

.list-product-item .product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.list-product-item:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.list-product-item h3 {
    font-size: 20px;
    color: #231816;
    font-weight: 500;
    text-align: left;
    font-family: 'Alibaba PuHuiTi-Medium';
    margin-top: 15px;
}



.gallery-main {
    display: flex;
    background-color: #fff;
    justify-content: center;
    align-items: center;
}

.gallery-thumb-box {
    width: 100%;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: all 0.2s;
}

.gallery-thumb-box.active {
    border: 2px solid #000;
    padding: 1px;
    box-sizing: border-box;
}

.gallery-thumb-img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}
