/**
 * 正派优选 - 公共CSS样式库
 * 包含所有页面共用的样式定义
 */

/* ===== 基础样式重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== 通用工具类 ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-wrap: break-word;
    word-break: break-word;
}

/* ===== 布局组件 ===== */
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col {
    flex: 1 0 0%;
    padding-right: 15px;
    padding-left: 15px;
}

/* ===== 导航栏样式 ===== */
.navbar {
    background: linear-gradient(135deg, #FF6D00 0%, #FF8500 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px);
}

.navbar-brand i {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

/* ===== 搜索框样式 ===== */
.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 3.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    outline: none;
    background: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #FF6D00;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-btn:hover {
    background: #FF8500;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 109, 0, 0.3);
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: #FF6D00;
    border-color: #FF6D00;
    color: white;
}

.btn-primary:hover {
    background: #FF8500;
    border-color: #FF8500;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.4);
}

.btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
    border-color: #d39e00;
    transform: translateY(-2px);
}

.btn-info {
    background: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
    border-color: #117a8b;
    transform: translateY(-2px);
}

.btn-light {
    background: #f8f9fa;
    border-color: #f8f9fa;
    color: #212529;
}

.btn-light:hover {
    background: #e2e6ea;
    border-color: #dae0e5;
    transform: translateY(-2px);
}

.btn-dark {
    background: #343a40;
    border-color: #343a40;
    color: white;
}

.btn-dark:hover {
    background: #23272b;
    border-color: #1d2124;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: #FF6D00;
    border-color: #FF6D00;
    background: transparent;
}

.btn-outline-primary:hover {
    color: white;
    background: #FF6D00;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    color: white;
    background: #6c757d;
    transform: translateY(-2px);
}

/* ===== 卡片样式 ===== */
.card {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 109, 0, 0.05) 0%, rgba(255, 133, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

/* ===== 表单样式 ===== */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #495057;
    background-color: white;
    background-clip: padding-box;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    color: #495057;
    background-color: white;
    border-color: #FF6D00;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
    transform: translateY(-1px);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.5rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.5rem;
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
}

/* ===== 加载状态样式 ===== */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.loading-text {
    margin-top: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* ===== 骨架屏样式 ===== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    margin-bottom: 0;
    width: 60%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

.skeleton-button {
    width: 100px;
    height: 2.5rem;
    border-radius: 6px;
}

/* ===== 模态框样式 ===== */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

/* ===== 分页样式 ===== */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 8px;
    justify-content: center;
    margin: 2rem 0;
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #FF6D00;
    background-color: white;
    border: 1px solid #dee2e6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    z-index: 2;
    color: #FF8500;
    background-color: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    z-index: 3;
    color: white;
    background-color: #FF6D00;
    border-color: #FF6D00;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: white;
    border-color: #dee2e6;
}

/* ===== 徽章样式 ===== */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.badge-primary {
    color: white;
    background-color: #FF6D00;
}

.badge-secondary {
    color: white;
    background-color: #6c757d;
}

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

.badge-danger {
    color: white;
    background-color: #dc3545;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

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

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.badge-dark {
    color: white;
    background-color: #343a40;
}

/* ===== 折扣标签样式 ===== */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* ===== 价格样式 ===== */
.price {
    font-weight: 600;
    color: #FF6D00;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
    margin-right: 0.5rem;
}

.current-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #FF6D00;
}

/* ===== 图片样式 ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    max-width: 100%;
    height: auto;
}

/* ===== 表格样式 ===== */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    background-color: transparent;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 600;
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .container-fluid {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .search-box {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .toast {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-right: 8px;
        padding-left: 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }
    
    .card {
        border-radius: 12px;
    }
    
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ===== 打印样式 ===== */
@media print {
    .navbar,
    .btn,
    .search-box,
    .toast,
    .loading-overlay {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ===== 高对比度模式支持 ===== */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border-width: 2px;
    }
    
    .form-control {
        border-width: 2px;
    }
}

/* ===== 减少动画模式支持 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover,
    .btn:hover {
        transform: none;
    }
}

/* ===== 焦点管理 ===== */
*:focus {
    outline: 2px solid #FF6D00;
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid #FF6D00;
    outline-offset: 2px;
}

.form-control:focus-visible {
    outline: 2px solid #FF6D00;
    outline-offset: 2px;
}

/* ===== 自定义滚动条 ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== 选择文本样式 ===== */
::selection {
    background-color: rgba(255, 109, 0, 0.3);
    color: #333;
}

::-moz-selection {
    background-color: rgba(255, 109, 0, 0.3);
    color: #333;
}

/* ===== 1688风格优化 ===== */
/* 页面容器 */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 内容卡片 */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 标题样式 */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #FF6D00;
}

/* 统计卡片 */
.stat-card {
    background: linear-gradient(135deg, #FF6D00 0%, #FF8500 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 109, 0, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 操作按钮组 */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state-text {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* 加载状态 */
.loading-state {
    text-align: center;
    padding: 40px 20px;
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-primary {
    background: #fff5e6;
    color: #FF6D00;
}

.tag-success {
    background: #e6f7e6;
    color: #52c41a;
}

.tag-warning {
    background: #fff7e6;
    color: #faad14;
}

.tag-danger {
    background: #fff1f0;
    color: #ff4d4f;
}

/* ===== Banner组件 ===== */
.page-banner {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 15px;
}

.banner-single {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    padding: 20px;
    min-height: 140px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-single:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.banner-single img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.banner-single-content {
    flex: 1;
    color: #333;
}

.banner-single-content h4 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
}

.banner-single-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.banner-grid-item {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.banner-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.banner-grid-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.banner-grid-content h5 {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 600;
}

.banner-grid-content p {
    margin: 0;
    color: #777;
    font-size: 0.85rem;
}

.banner-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.banner-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

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

.banner-carousel-slide.active {
    opacity: 1;
    position: absolute;
}

.banner-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.banner-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-carousel-indicator.active {
    width: 24px;
    background: #FF6D00;
}

/* ===== Banner样式 ===== */
/* 大型Banner（首页主Banner） */
.banner-large {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.banner-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-large:hover img {
    transform: scale(1.05);
}

/* 中型Banner（列表页等） */
.banner-medium {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

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

/* 小型Banner（侧边栏等） */
.banner-small {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

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

/* Banner轮播容器 */
.banner-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}

.banner-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicator.active {
    background: #FF6D00;
    width: 24px;
    border-radius: 4px;
}

.banner-indicator:hover {
    background: rgba(255,255,255,0.8);
}

/* Banner导航按钮 */
.banner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.banner-nav-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-50%) scale(1.1);
}

.banner-nav-btn.prev {
    left: 15px;
}

.banner-nav-btn.next {
    right: 15px;
}

/* 页面顶部Banner区域 */
.page-banner-section {
    background: linear-gradient(135deg, #FF6D00 0%, #FF8500 100%);
    padding: 40px 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.page-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-banner-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* 侧边栏Banner */
.sidebar-banner {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-banner img {
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sidebar-banner img:hover {
    transform: scale(1.02);
}

