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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #333;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* === Contact / Customer Service Modal === */
.contact-modal-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 0;
}
.contact-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(59,130,246,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #111827);
    text-align: center;
}
.contact-desc {
    font-size: 12px;
    color: var(--text-tertiary, #9ca3af);
    text-align: center;
    margin-bottom: 4px;
}
.contact-qr-wrapper {
    width: 180px;
    height: 180px;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}
.contact-qr-tip {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-secondary, #f9fafb);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e5e7eb);
    transition: border-color 0.15s;
}
.contact-info-item:hover {
    border-color: rgba(59,130,246,0.25);
}
.contact-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon.wechat {
    background: rgba(7,193,96,0.1);
    color: #07c160;
}
.contact-info-icon.wechat svg {
    stroke: #07c160;
}
.contact-info-icon.clock {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}
.contact-info-icon.clock svg {
    stroke: #3b82f6;
}
.contact-info-body {
    flex: 1;
    min-width: 0;
}
.contact-info-label {
    font-size: 12px;
    color: var(--text-tertiary, #9ca3af);
    font-weight: 500;
    margin-bottom: 2px;
}
.contact-info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary, #111827);
    font-weight: 600;
}
.contact-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 12px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: inherit;
}
.contact-copy-btn:hover {
    background: #06ad56;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(7,193,96,0.3);
}
.contact-copy-btn:active {
    transform: translateY(0);
    box-shadow: none;
}
.contact-copy-btn.copied {
    background: #10b981;
}
