/* frontend/assets/detail-vip.css */
.supplier-detail-container.vip-template{
	color: #333;
	background: #f8f9fa;
	min-height: 100vh;
} 

/* Banner */
.supplier-banner{
	width: 100%;
	height: 400px;
	background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), #333;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
} 

/* VIP ribbon */
.vip-ribbon{
	position: absolute;
	top: 15px;
	right: -40px;
	background: linear-gradient(135deg, #1e90ff 0%, #007cba 100%);
	color: #fff;
	padding: 10px 60px;
	transform: rotate(45deg);
	font-weight: bold;
	font-size: 16px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	z-index: 100;
}

.supplier-banner img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner-placeholder{
	color: #007cba;
	font-size: 32px;
	text-align: center;
	padding: 20px;
} 

/* main container */
.supplier-main-content{
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 20px;
} 

/* basic info card */
.supplier-basic-info{
	background: white;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	margin: -80px auto 30px;
	border-radius: 12px;
	position: relative;
	z-index: 2;
	border: 3px solid #1e90ff;
}

.supplier-basic-content{
	display: flex;
	padding: 30px;
}

.logo-section{
	margin-right: 30px;
	flex-shrink: 0;
}

.supplier-logo{
	width: 120px;
	height: 120px;
	object-fit: contain;
	border: 2px solid #1e90ff;
	border-radius: 12px;
	background: white;
	padding: 10px;
}

.logo-placeholder{
	width: 120px;
	height: 120px;
	background: #1e90ff;
	color: white;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	font-weight: bold;
}

.info-section{
	flex: 1;
}

.info-section h1{
	margin: 0 0 15px 0;
	color: #1e90ff;
	font-size: 28px!important;
}

.supplier-meta{
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.supplier-meta span{
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
}

.supplier-text{
	border-radius: 20px 0 0 20px;
	background: #dee2e6;
	padding: 5px 8px;
	font-size: 14px;
	font-weight: 500;
}

.region{
	background: #6f42c1;
	color: white;
	padding: 5px 10px 5px 5px;
	border-radius: 0 20px 20px 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 30px;
}

.level.vip{
	background: linear-gradient(135deg, #1e90ff 0%, #007abc 100%);
	color: white;
	box-shadow: 0 2px 10px rgba(30,144,255,0.3);
}

.type{
	background: #28a745;
	color: white;
}

.supplier-tags{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag{
	background: #e9ecef;
	color: #495057;
	padding: 5px 15px;
	border-radius: 15px;
	font-size: 13px;
	border: 1px solid #dee2e6;
} 

/* content grid */
.supplier-content{
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 30px;
	margin-bottom: 50px;
} 

/* widget */
.content-sidebar{
	position: sticky;
	top: 80px;
	background: white;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	height: fit-content;
	border: 1px solid #1e90ff;
}

.content-sidebar h3{
	margin: 0 0 20px 0;
	color: #1e90ff;
	font-size: 22px!important;
	font-weight: 800;
	padding-bottom: 10px;
	border-bottom: 2px solid #1e90ff;
	display: flex;
	align-items: center;
	gap: 10px;
} 

/* contact info */
.contact-item{
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(30,144,255,0.05);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.contact-item:hover{
	background: rgba(30,144,255,0.1);
	transform: translateX(5px);
}

.contact-item i{
	color: #1e90ff;
	font-size: 20px;
	margin-top: 3px;
}

.contact-item div{
	flex: 1;
}

.contact-item strong{
	display: block;
	color: #2c3e50;
	font-size: 14px;
	margin-bottom: 3px;
}

.contact-item span, .contact-item a{
	color: #555;
	font-size: 14px;
	text-decoration: none;
}

.contact-item a:hover{
	color: #1e90ff;
	text-decoration: underline;
} 

/* basic metrics */
.basic-metrics{
	margin: 30px 0;
}

.metric-item{
	margin-bottom: 15px;
	font-size: 14px;
	padding: 12px;
	background: rgba(30,144,255,0.05);
	border-radius: 6px;
}

.metric-item strong{
	display: block;
	color: #2c3e50;
	margin-bottom: 5px;
}

.metric-item span{
	color: #555;
	font-weight: 500;
} 

/* product line */
.category-group-list{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.category-group{
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	text-decoration: none;
}

.category-group h3{
	background: #dee2e6;
	padding: 12px 15px;
	margin: 0 0 10px 0;
	border-radius: 8px 8px 0 0;
	font-size: 18px!important;
	font-weight: 600;
}

.category-group h3 a{
	color: #333;
	text-decoration: none;
}

.category-group ul{
	list-style: disc;
	padding-left: 10px;
}

.category-group li{
	margin-bottom: 8px;
}

.category-group a:hover{
	text-decoration: none;
	color: #007abc;
}

.product-tags{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.product-tag{
	background: #0073aa;
	color: white;
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 14px;
} 

/* map */
.map-location{
	margin-top: 30px;
}

.map-location h3{
	margin-bottom: 15px;
}

#supplier-map{
	height: 300px!important;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #ddd;
}

.coordinates-info{
	margin-top: 10px;
	font-size: 12px;
	color: #666;
	text-align: center;
} 

/* main content */
.content-main{
	background: white;
	border-radius: 12px;
	padding: 10px 20px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	border: 1px solid #1e90ff;
} 

/* video container */
.supplier-video{
	background: #f8f9fa;
	margin-bottom: 20px;
	border-radius: 8px;
}

.supplier-video h2{
	color: #333;
	margin: 0 0 20px 0;
	font-size: 22px;
	padding-bottom: 10px;
	border-bottom: 2px solid #dee2e6;
}

.supplier-video.vip h2{
	color: #1e90ff;
	border-bottom: 2px solid #1e90ff;
}

.supplier-video.premium h2{
	color: #2c3e50;
	border-bottom: 3px solid #ffd700;
}

.video-container{
	position: relative;
	padding-bottom: 56.25%;   /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe, .video-container video{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.video-container.premium{
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
} 

/* VIP style */
.supplier-video.vip{
	background: rgba(30,144,255,0.1);
	border: 1px solid #1e90ff;
} 

/* SVIP style */
.supplier-video.premium{
	background: rgba(255,255,255,0.95);
	border: 1px solid rgba(255,215,0,0.3);
	box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.content-main h2{
	color: #1e90ff;
	margin: 0 0 25px 0;
	font-size: 22px!important;
	padding-bottom: 15px;
	border-bottom: 2px solid #1e90ff;
	display: flex;
	align-items: center;
	font-weight: 800;
	gap: 12px;
} 

/* supplier description*/
.company-description{
	margin-bottom: 20px;
}

.company-description p{
	line-height: 1.8;
	color: #555;
	font-size: 15px;
	margin: 0;
} 

/* 供应商相册样式 */
.supplier-gallery-section{
	margin: 40px 0;
	background: #f8f9fa;
	padding: 25px;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.supplier-gallery-section h2{
	color: #333;
	margin: 0 0 25px 0;
	font-size: 22px;
	padding-bottom: 15px;
	border-bottom: 2px solid #dee2e6;
	display: flex;
	align-items: center;
	gap: 12px;
}

.gallery-main-viewer{
	text-align: center;
	margin-bottom: 20px;
}

.gallery-main-viewer img{
	max-width: 100%;
	max-height: 500px;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	background: white;
	padding: 10px;
}

.gallery-image-caption{
	margin-top: 15px;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.gallery-thumbnails{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	margin-bottom: 20px;
}

.gallery-thumbnail{
	width: 100px;
	height: 100px;
	border: 3px solid #e9ecef;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
	padding: 3px;
}

.gallery-thumbnail:hover{
	border-color: #0073aa;
	transform: translateY(-3px);
}

.gallery-thumbnail.active{
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0,115,170,0.3);
}

.gallery-thumbnail img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-image-description{
	text-align: center;
	color: #555;
	font-size: 15px;
	line-height: 1.6;
	padding: 15px;
	background: white;
	border-radius: 6px;
	border: 1px solid #e9ecef;
} 

 /* main product category */.product-tags
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.product-tag{
	background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
	color: white;
	padding: 8px 20px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 4px 15px rgba(30,144,255,0.2);
} 

/* custom fileds */
.custom-fields-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.custom-field-item{
	background: rgba(30,144,255,0.05);
	padding: 20px;
	border-radius: 8px;
	border: 1px solid rgba(30,144,255,0.2);
}

.custom-field-item strong{
	display: block;
	color: #1e90ff;
	font-size: 15px;
	margin-bottom: 10px;
}

.custom-field-item span{
	color: #555;
	font-size: 14px;
	line-height: 1.5;
} 

/* partners */
.partners-grid{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 25px;
	margin: 25px 0;
}

.partner-item{
	text-align: center;
}

.partner-item img{
	width: 80px;
	height: 80px;
	object-fit: contain;
	margin-bottom: 10px;
	border: 2px solid #1e90ff;
	border-radius: 50%;
	padding: 5px;
	background: white;
}

.partner-item span{
	font-size: 13px;
	color: #555;
	display: block;
	font-weight: 500;
} 

/* news */
.news-section{
	margin: 40px 0;
	background: rgba(30,144,255,0.03);
	padding: 25px;
	border-radius: 12px;
	border: 1px solid rgba(30,144,255,0.1);
}

.news-list{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
}

.news-item{
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.08);
	border: 1px solid #eee;
	transition: all 0.3s ease;
}

.news-item:hover{
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.news-header{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
}

.news-header h4{
	margin: 0;
	flex: 1;
}

.news-header h4 a{
	color: #1e90ff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
}

.news-header h4 a:hover{
	text-decoration: underline;
}

.news-date{
	color: #1e90ff;
	font-size: 12px;
	white-space: nowrap;
	margin-left: 15px;
}

.news-item p{
	color: #666;
	line-height: 1.6;
	margin: 0;
	font-size: 14px;
} 

/* Product display */
.products-showcase{
	margin: 40px 0;
	border-radius: 12px;
}

.products-placeholder{
	background: rgba(30,144,255,0.05);
	padding: 40px;
	text-align: center;
	border-radius: 8px;
	color: #6c757d;
	font-style: italic;
	border: 2px dashed rgba(30,144,255,0.2);
} 

/* Contact info limit display */
.contact-restricted{
	text-align: center;
	padding: 30px;
	background: #fff3cd;
	border-radius: 8px;
	color: #856404;
	border: 1px solid #ffeaa7;
}

.contact-restricted p{
	margin: 0 0 15px 0;
	font-size: 16px;
}

.contact-restricted i{
	margin-right: 8px;
	color: #ffc107;
}

.login-link, .upgrade-link{
	display: inline-block;
	padding: 10px 20px;
	background: #1e90ff;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.3s;
	font-weight: 500;
}

.login-link:hover, .upgrade-link:hover{
	background: #0066cc;
} 

/* related-articles */
.related-articles{
	margin: 40px 0;
}

.related-articles h2{
	color: #333;
	margin: 0 0 20px 0;
	font-size: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #dee2e6;
	display: flex;
	align-items: center;
	gap: 10px;
}

.related-articles.vip{
}

.related-articles.vip h2{
	color: #1e90ff;
	border-bottom: 2px solid #1e90ff;
}

.related-articles.premium{
	background: rgba(255,255,255,0.95);
	border: 1px solid rgba(255,215,0,0.3);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-articles.premium h2{
	color: #2c3e50;
	border-bottom: 2px solid #ffd700;
}

.sps-articles-list{
	list-style: none;
	padding: 0;
	margin: 0;
}

.sps-article-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
}

.sps-article-item:last-child{
	border-bottom: none;
}

.sps-article-title{
	display: flex;
	align-items: center;
	position: relative;
	flex: 1;
	text-decoration: none;
	font-size: 18px!important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-right: 15px;
}

.sps-article-title::before{
	font-weight: bold;
	border-bottom: 1px dashed #ccc;
	transform: translateY(-50%);
}

.sps-article-title:hover{
	color: #1e90ff;
}

.sps-article-date{
	color: #6c757d;
	font-size: 13px;
	white-space: nowrap;
} 

/* certifications */
.supplier-certifications{
	margin-bottom: 30px;
}

.supplier-certifications h2{
	color: #1e90ff;
	margin: 0 0 20px 0;
	font-size: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #1e90ff;
	display: flex;
	align-items: center;
	gap: 10px;
	text-transform: capitalize;
}

.certifications-grid{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.certification-item{
	position: relative;
	cursor: pointer;
}

.certification-info h4{
	font-size: 16px!important;
	font-weight: 400;
	color: #333;
	margin-bottom: 0;
	text-transform: capitalize;
} 

/* Popup display window */
.certification-info-hidden{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	z-index: 10;
    /* animations */
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.2s ease, transform 0.2s ease;
} 

/* hover */
.certification-item:hover .certification-info-hidden{
	display: block;
	opacity: 1;
	transform: scale(1);
}

.certification-info{
	position: relative;
	z-index: 1;
}

.certification-image{
	align-items: center;
}

.certification-info-hidden h4{
	font-size: 18px!important;
	font-weight: 600;
	color: #333;
	margin-bottom: 0;
	text-align: center;
}

.certification-info-hidden p{
	margin: 0;
	font-size: 12px;
	color: #666;
	line-height: 1.4;
} 

/* documents download */
.supplier-downloads{
	margin-bottom: 30px;
}

.supplier-downloads h2{
	color: #1e90ff;
	margin: 0 0 20px 0;
	font-size: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #1e90ff;
	display: flex;
	align-items: center;
	gap: 10px;
	text-transform: capitalize;
}

.downloads-list{
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.download-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: white;
	padding: 20px;
	border-radius: 6px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.download-info{
	flex: 1;
}

.download-info h4{
	margin: 0 0 8px 0;
	color: #333;
	font-size: 16px!important;
}

.download-info p{
	margin: 0 0 10px 0;
	color: #666;
	font-size: 14px;
	line-height: 1.4;
}

.download-meta{
	display: flex;
	gap: 15px;
	align-items: center;
}

.visibility-badge{
	display: none;
	padding: 3px 10px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
}

.visibility-badge.public{
	background: #28a745;
	color: white;
}

.visibility-badge.login{
	background: #17a2b8;
	color: white;
}

.visibility-badge.paid{
	background: #ffc107;
	color: #000;
}

.file-size{
	color: #6c757d;
	font-size: 12px;
}

.download-btn{
	width: 45px;
	height: 45px;
	padding: 10px;
	background: #1e90ff;
	color: white;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 500;
	transition: background 0.3s;
}

.download-btn:hover{
	background: #005a87;
} 

/* Pop-up window */
.download-modal{
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}

.modal-content{
	background-color: white;
	margin: 10% auto;
	padding: 0;
	border-radius: 10px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	position: relative;
}

.close-modal{
	position: absolute;
	right: 15px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #aaa;
	cursor: pointer;
}

.modal-body{
	padding: 30px;
	margin: 0 auto;
}

.modal-body h3{
	margin: 0 0 15px 0;
	color: #333;
	font-size: 20px!important;
}

.modal-visibility{
	margin-bottom: 20px;
}

.modal-description{
	margin-bottom: 25px;
	color: #666;
	line-height: 1.6;
}

.modal-download-section{
	text-align: center;
}

.download-button{
	display: inline-block;
	padding: 12px 25px;
	background: #28a745;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: background 0.3s;
}

.download-button:hover{
	background: #218838;
}

.login-button, .upgrade-button{
	display: inline-block;
	padding: 12px 25px;
	background: #17a2b8;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	margin-top: 10px;
}

.upgrade-button{
	background: #ffc107;
	color: #000;
} 

/* Responsive */

/* ≤1024px */
@media (max-width: 1024px) {
    .supplier-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .content-sidebar { order: 2; }
    .content-main { order: 1; }
    .supplier-banner { height: 300px; }
    .supplier-basic-content {
        flex-direction: column;
        text-align: center;
    }
    .logo-section {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .supplier-meta { justify-content: center; }
}

/* ≤768px */
@media (max-width: 768px) {
    .supplier-main-content { padding: 0 15px; }
    .supplier-banner { height: 250px; }
    .supplier-basic-info { margin: -60px auto 20px; }
    .supplier-basic-content { padding: 20px; }
    .info-section h1 { font-size: 24px; }
    .supplier-content { gap: 20px; }
    .content-sidebar, .content-main { padding: 20px; }
    .custom-fields-grid { grid-template-columns: 1fr; }
    .news-list { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .video-container { padding-bottom: 56.25%; height: 0; }
    .supplier-video { padding: 15px; }

    /* gallery 响应式 */
    .gallery-main-viewer img { max-height: 300px; }
    .gallery-thumbnail { width: 80px; height: 80px; }
    .gallery-thumbnails { gap: 10px; }
}

/* ≤480px */
@media (max-width: 480px) {
    .supplier-main-content { max-width: 100%; }
    .supplier-content { gap: 10px; }
    .sps-article-title { white-space: normal; }
    .download-item, .download-btn {
        max-width: 100%;
        box-sizing: border-box;
    }
    .partner-item img { max-width: 70px; height: auto; }
    .certification-image img { max-width: 100%; height: auto; }
    .modal-content { width: 90%; max-width: 100%; }
    .sps-article-item, .download-meta { flex-wrap: wrap; }
    .category-group-list { grid-template-columns: 1fr; }

    /* gallery 响应式 */
    .gallery-main-viewer img { max-height: 250px; }
    .gallery-thumbnail { width: 60px; height: 60px; }
    .gallery-image-caption { font-size: 16px; }
}

/* 供应商产品列表样式 */
.supplier-products-section {
    margin: 40px 0;
}

.supplier-products-section h2 {
    color: #333;
    margin: 0 0 25px 0;
    font-size: 22px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #0073aa;
}

.product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    border-bottom: 2px solid #e9ecef;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-placeholder {
    text-align: center;
    color: #999;
}

.product-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #0073aa;
}

.product-placeholder span {
    display: block;
    font-size: 14px;
}

.product-info {
    padding: 20px;
}

.product-name {
    margin: 0 0 15px 0;
    font-size: 16px!important;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-model, .product-moq {
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
}

.product-model strong, .product-moq strong {
    color: #333;
    font-weight: 600;
}

.view-all-products {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,115,170,0.2);
}

.view-all-link:hover {
    background: linear-gradient(135deg, #005a87 0%, #004360 100%);
    box-shadow: 0 6px 20px rgba(0,115,170,0.3);
    transform: translateY(-2px);
}

.no-products-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .supplier-products-section {
        padding: 20px 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .supplier-products-section h2 {
        font-size: 20px;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-name {
        font-size: 15px;
    }
    
    .view-all-link {
        padding: 10px 20px;
        font-size: 14px;
    }
}