/* frontend/assets/detail-svip.css */
.supplier-detail-container.svip-template {    
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    min-height: 100vh;
    position: relative;
}

/* Premium 横幅 */
.premium-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    height: 550px;
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 20px;
}

.premium-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.premium-banner h1 {
    font-size: 48px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.premium-banner p {
    color: #fff;
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 供应商基本信息卡片 */
.supplier-basic-content {
    display: flex;
    padding: 30px;
}

.logo-section {
    flex-shrink: 0;
}

.supplier-logo {
    border: 5px solid #ffa500;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    padding: 10px;
    margin-bottom: 20px;
}

.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 {
    gap: 15px;
    margin: 20px auto;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

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

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

.region {
    background: #ffd700;
    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, #CDD5E7 0%, #BDC6CE 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(30,144,255,0.3);
}

.type {
    background: #28a745;
    color: white;
    width: fit-content;
}

.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;
}

/* SVIP 丝带 */
.svip-ribbon {
    position: absolute;
    top: 10px;
    right: -50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #000;
    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-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    max-width: 1366px;
    margin: -50px auto 0;
    padding: 0 0 30px;
    align-items: stretch;
    min-height: 100vh;
}

.content-sidebar {
    position: sticky;
    top: 80px;
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.3);
    height: fit-content;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,215,0,0.2);
    transform: translateX(5px);
}

.contact-item i {
    color: #ffd700;
    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: #2980b9;
    text-decoration: underline;
}

/* 统计卡片 */
.stats-card {
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffd700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* 地图卡片 */
.map-card {
    margin-top: 30px;
}

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

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

.coordinates-info i {
    color: #2980b9;
}

/* 主内容区域 */
.content-main {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.3);
}

.content-main h3 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 24px!important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    text-transform: capitalize;
}

/* 公司概览 */
.overview-content p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    margin: 0;
}

/* 供应商相册样式 */
.supplier-gallery-section {
    padding: 20px;
}

.supplier-gallery-section h3 {
    color: #333;
    margin: 0 0 25px 0;
    font-size: 24px!important;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.gallery-main-viewer img {
    max-width: 100%;
    max-height: 450px;
    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: #ffa500;
    transform: translateY(-3px);
}

.gallery-thumbnail.active {
    border-color: #ffa500;
    box-shadow: 0 0 0 3px #ffd700);
}

.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;
}

/* 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: 12px;
}

.product-tag.premium {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffd700;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 自定义字段网格 */
.custom-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.custom-field-item.premium {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.custom-field-item.premium strong {
    display: block;
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 10px;
}

.custom-field-item.premium span {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.5;
}

/* 合作伙伴 */
.partners-section {
    margin: 40px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 25px;
}

.partner-item.premium {
    text-align: center;
    padding: 20px;
    background: rgba(255,215,0,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.partner-item.premium:hover {
    background: rgba(255,215,0,0.2);
    transform: translateY(-5px);
}

.partner-item.premium img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 3px solid #ffd700;
}

.partner-placeholder {
    width: 80px;
    height: 80px;
    background: #2c3e50;
    color: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    border: 3px solid #ffd700;
}

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

/* 新闻区域 */
.news-section.premium {
    margin: 40px 0;
}

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

.news-item {
    background: rgba(255,215,0,0.1);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,215,0,0.2);
}

.news-item:hover {
    background: rgba(255,215,0,0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

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

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

.news-header h4 a:hover {
    color: #2980b9;
}

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

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

/* 产品展示 */
.products-showcase.premium {
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    color: white;
}

.product-image {
    height: 200px;
    background: rgba(255,255,255);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.image-placeholder {
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    margin: 0 0 10px 0;
    color: #ffd700;
    font-size: 18px!important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
}

.product-info p {
    line-height: 1;
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: !important;
}

.product-model, .product-moq{
    color: #ffd700;
    line-height: 1;
    margin: 0 0 10px 0;
    font-size: !important;
}

.view-details-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.map-card {
    border-radius: 15px;
    margin-top: 30px;
}

.map-card h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
}
/* related-articles */
    .related-articles {
        margin: 40px 0;
        background: #f8f9fa;
        padding: 25px;
        border-radius: 8px;
        border: 1px solid #e9ecef;
    }
    
    .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 {
        background: rgba(30,144,255,0.05);
        border: 1px solid #1e90ff;
    }
    
    .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;
    }
    
    .articles-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .article-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .article-item:last-child {
        border-bottom: none;
    }
    
    .article-title {
        flex: 1;
        color: #0073aa;
        text-decoration: none;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-right: 15px;
    }
    
    .article-title:hover {
        text-decoration: underline;
    }
    
    .article-date {
        color: #6c757d;
        font-size: 13px;
        white-space: nowrap;
    }

/* 视频容器样式 */

.supplier-video {
    margin-bottom: 20px;
    background: #f8f9fa;
    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.svip 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模板特殊样式 */
.supplier-video.vip {
    background: rgba(30,144,255,0.1);
    border: 1px solid #1e90ff;
}

/* SVIP模板特殊样式 */
.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);
}

@media (max-width: 768px) {
    .video-container {
        padding-bottom: 56.25%;
        height: 0;
    }
    
    .supplier-video {
        padding: 15px;
    }
}
/* 认证样式 */
.supplier-certifications {
    margin-bottom: 30px;  
}

.supplier-certifications h3 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 24px !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    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;
}

/* 默认隐藏隐藏内容 */
.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;

    /* 可选动画 */
    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;
}

/* 下载样式 */
.supplier-downloads {
    margin-bottom: 30px;
}

.supplier-downloads h3 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 24px !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    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;
}

/* 弹窗样式 */
.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 合并 */
@media (max-width: 1024px) {
    .supplier-content {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
    .content-sidebar { order: 2; }
    .content-main { order: 1; }
    .premium-banner h1 { font-size: 36px; }
    .premium-banner p { font-size: 18px; }
}

@media (max-width: 768px) {
    .premium-banner { min-height: 620px; padding: 20px 0; }
    .supplier-content { padding: 0 15px; gap: 20px; }
    .content-sidebar, .content-main { padding: 20px; }
    .premium-banner h1 { font-size: 28px!important; }
    .premium-banner p { font-size: 16px; }
    .svip-ribbon { right: -35px; padding: 8px 50px; font-size: 14px; }
    .custom-fields-grid { grid-template-columns: 1fr; }
    .news-slider, .products-grid { grid-template-columns: 1fr; }
    .category-group-list { grid-template-columns: 1fr; }
    .gallery-main-viewer img { max-height: 300px; }
    .gallery-thumbnail { width: 80px; height: 80px; }
    .gallery-thumbnails { gap: 10px; }
    .video-container { padding-bottom: 56.25%; height: 0; }
    .supplier-video { padding: 15px; }
}

@media (max-width: 480px) {
    .gallery-main-viewer img { max-height: 250px; }
    .gallery-thumbnail { width: 60px; height: 60px; }
    .gallery-image-caption { font-size: 16px; }
}
