/* CSS Variables */
:root {
    /* --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6; */
    --primary-color: #a71e28;
    --primary-dark: #82162b;
    --primary-light: #c94740;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    --bg-color: #f8fafc;
    --bg-dark: #0f172a;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ============================================
   Floating Buttons
   ============================================ */
.floating-btns {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn-item {
    position: relative;
    display: flex;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.floating-btn:hover,
.floating-btn:focus-visible {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.floating-btn-popover {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    z-index: 1;
    background: var(--text-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-btn-popover::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-white);
    transform: translateY(-50%);
}

.floating-btn-popover::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 12px;
    height: 100%;
}

.floating-btn-item:hover .floating-btn-popover,
.floating-btn-item:focus-within .floating-btn-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.floating-wechat-popover {
    padding: 8px;
}

.floating-wechat-popover img {
    display: block;
    width: 150px;
    height: 150px;
    max-width: none;
    object-fit: contain;
}

.floating-phone-popover {
    padding: 10px 16px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.w-pre90{
    min-width: 50%;
    max-width: 90%;
}
.mt10{
    margin-top: 10px;
}
.text-center{
    text-align: center;
}
.fz14{ 
    font-size: 14px !important;
}
.fz16{ 
    font-size: 16px !important;
}
.fz18{ 
    font-size: 18px !important;
}
.fz20{ 
    font-size: 20px !important;
}
.fz22{ 
    font-size: 22px !important;
}
.fz30{ 
    font-size: 30px !important;
}
.line30{
    line-height: 30px !important;
}
.w13{ 
    width: 13.5rem !important;
}
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.pagination a, .pagination span {
    padding: 0rem 1rem;
    /* border: 1px solid #e5e7eb; */
    border-radius: 0.5rem;
}
.pagination a:hover {
    background-color: #eff6ff;
}
.pagination .active {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: white;
    border-radius: 0.5rem;
}