/* ============================================
   顾客展示页面样式
   ============================================ */

:root {
    --primary: #c41e3a;
    --gold: #d4af37;
    --red-light: #fff5f5;
    --white: #ffffff;
    --dark: #333333;
    --gray: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    background: linear-gradient(180deg, #ffecd2 0%, #fcb69f 50%, #ff9a8b 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* 头部 */
.header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
    color: var(--white);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '福';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.1;
    font-weight: bold;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--gold);
}

/* 价目表 */
.price-list {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background: linear-gradient(135deg, var(--primary) 0%, #a01830 100%);
    color: var(--white);
    padding: 16px 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.price-table th:first-child {
    width: 20%;
}

.price-table th:last-child {
    width: 15%;
}

.price-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 1rem;
    vertical-align: middle;
}

.price-table tbody tr:hover {
    background-color: rgba(255, 245, 245, 0.5);
}

.category-cell {
    font-size: 1.1rem;
    border-right: 2px solid #ddd;
}

.category-cell strong {
    color: var(--primary);
}

.price-cell {
    font-size: 1.2rem;
    color: var(--primary);
    border-left: 2px solid #ddd;
}

.price-cell strong {
    display: inline-block;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 6px 12px;
    border-radius: 8px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
    display: none;
}

.empty-state span {
    font-size: 5rem;
    display: block;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 1.2rem;
}

/* 响应式 */
@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    .header {
        padding: 20px 16px;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .price-table th,
    .price-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    .price-cell strong {
        padding: 4px 8px;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .header {
        background: white !important;
        color: black;
        border: 2px solid var(--primary);
    }

    .header h1 {
        color: var(--primary);
        text-shadow: none;
    }

    .price-table th {
        background: #f0f0f0 !important;
        color: black;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}