/* 固定页面宽度为1200px - 全局样式 */
.container {
    max-width: 1200px !important;
    width: 1200px !important;
    margin: 0 auto !important;
}
.bg-light {
    min-width: 1200px !important;
}
.category-nav {
    min-width: 1200px !important;
}

/* 确保所有使用container类的页面都使用固定宽度 */
.container-fluid {
    max-width: 1200px !important;
    width: 1200px !important;
    margin: 0 auto !important;
}

/* 针对特定容器的固定宽度设置 */
.publish-container,
.edit-container {
    max-width: 1200px !important;
    width: 1200px !important;
    margin: 0 auto !important;
}

/* 固定4列网格布局 */
.shop-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
}

/* 固定顶部导航布局 */
.top-nav-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    padding: 15px 0 !important;
}

.nav-menu {
    display: flex !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: row !important;
}

/* 固定详情页面布局 */
.row {
    display: flex !important;
    flex-direction: row !important;
}

.col-lg-8 {
    width: 66.666667% !important;
    flex: 0 0 66.666667% !important;
}

.col-lg-4 {
    width: 33.333333% !important;
    flex: 0 0 33.333333% !important;
}

/* 美化分页样式 */
.pagination-container {
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.page-item.disabled .page-link {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-item.disabled .page-link:hover {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
    transform: none;
    box-shadow: none;
}

/* 分页信息显示 */
.pagination-info {
    text-align: center;
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.pagination-info strong {
    color: #667eea;
}

/* 分页按钮特殊效果 */
.page-link:first-child,
.page-link:last-child {
    font-weight: 500;
    min-width: 50px;
}

.page-link:first-child:hover,
.page-link:last-child:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* 分页容器背景 */
.pagination-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 40px 0 20px 0;
}

/* 空状态美化 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-title {
    color: #495057;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-text {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 确保页面在小屏幕上不会出现横向滚动条 */
/* @media (max-width: 1200px) {
    .container,
    .container-fluid,
    .publish-container,
    .edit-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}  */

.hero-section {
    min-width: 1200px;
}