/* ============================================================
   服务器详情页专用样式 - server-detail.css
   ============================================================ */

/* ============================================================
   内容包装器
   ============================================================ */
.content-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 30px 30px 0 0;
    margin-top: -20px;
    padding: 40px 0 30px;
    position: relative;
    z-index: 10;
    min-height: 600px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   主内容布局
   ============================================================ */
.detail-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   卡片基础样式
   ============================================================ */
.specs-card,
.tags-card,
.features-card,
.faq-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.card-title i {
    color: #06b6d4;
    font-size: 1.125rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s ease;
    margin-left: auto;
    padding: 0.4rem 0.8rem;
    background: #f1f5f9;
    border-radius: 20px;
}

.back-link:hover {
    background: #e2e8f0;
    color: #06b6d4;
    transform: translateX(-3px);
}

/* ============================================================
   服务器规格样式
   ============================================================ */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.spec-row:hover {
    background: #f1f5f9;
    transform: translateX(5px);
    border-color: #e2e8f0;
}

.spec-row.highlight-cpu,
.spec-row.highlight-gpu {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.spec-row.highlight-ddos {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: #06b6d4;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spec-row.highlight-cpu .spec-icon,
.spec-row.highlight-gpu .spec-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #ffffff;
}

.spec-row.highlight-ddos .spec-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.spec-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.spec-value {
    color: #1a202c;
    font-weight: 600;
    font-size: 1rem;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.spec-region-link {
    color: #667eea;
    text-decoration: none;
    transition: 0.2s ease;
}

.spec-region-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.spec-region-separator {
    color: #94a3b8;
    margin: 0 0.25rem;
}

/* ============================================================
   推荐配置卡片
   ============================================================ */
.stock-recommendations {
    background: var(--card-bg, #fff);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-card.stock-recommendations {
    background: var(--card-bg, #fff);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.sidebar-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary, #1e293b);
}

.sidebar-card-title i {
    font-size: 1rem;
    color: var(--success-color, #10b981);
}

.sidebar-configs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary, #f8fafc);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    border-left: 3px solid var(--success-color, #10b981);
}

.sidebar-config-item:hover {
    background: var(--bg-hover, #f1f5f9);
    transform: translateX(2px);
}

.config-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.config-region {
    font-size: 0.75rem;
    color: var(--text-secondary, #64748b);
    background: var(--bg-tertiary, #e2e8f0);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.config-region.same {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-weight: 500;
}

.config-spec {
    color: var(--text-primary, #334155);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.config-price {
    font-weight: 600;
    color: var(--primary-color, #3b82f6);
    flex-shrink: 0;
}

/* ============================================================
   标签展示样式
   ============================================================ */
.tags-card {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s, transform 0.2s;
    flex: 1 1 calc(33.33% - 0.67rem);
    min-width: 200px;
}

.tag-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tag-item:first-child:nth-last-child(4),
.tag-item:first-child:nth-last-child(4) ~ .tag-item {
    flex: 1 1 calc(50% - 0.5rem);
}

.tag-item:first-child:nth-last-child(5) ~ .tag-item:nth-child(n+4) {
    flex: 1 1 calc(50% - 0.5rem);
}

.tag-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.5rem;
}

.tag-header i {
    font-size: 1.25rem;
}

.tag-name {
    font-weight: 600;
    font-size: 1rem;
    color: #1a202c;
}

.tag-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.tag-benefits {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #495057;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.benefit-item i {
    color: #28a745;
    font-size: 0.75rem;
}

/* 标签图标颜色 */
.tag-icon-primary { color: #1976d2; }
.tag-icon-success { color: #388e3c; }
.tag-icon-warning { color: #f57c00; }
.tag-icon-danger { color: #d32f2f; }
.tag-icon-info { color: #0097a7; }
.tag-icon-secondary { color: #616161; }

/* ============================================================
   Sidebar Sticky Wrapper
   ============================================================ */
.sidebar-sticky-wrapper {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* ============================================================
   价格卡片
   ============================================================ */
.price-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #06b6d4;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.0rem;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
}

.price-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

.stock-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
}

.stock-badge.in-stock { background: #10b981; }
.stock-badge.out-stock { background: #ef4444; }

.price-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 1.125rem;
    color: #1a202c;
}

.price-item.main-price {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    font-size: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #06b6d4;
    position: relative;
}

.price-item .currency {
    font-size: 1rem;
    color: #64748b;
}

.price-item .amount {
    font-weight: 600;
    font-size: 1.25rem;
}

.price-item.main-price .amount {
    font-size: 1.75rem;
    color: #06b6d4;
}

.price-item .period {
    color: #64748b;
}

.price-item .discount {
    margin-left: 0.5rem;
    color: #10b981;
    font-size: 0.875rem;
}

.price-item.fee-item {
    background: #f8fafc;
    font-size: 1rem;
    justify-content: space-between;
}

.price-item.fee-item .amount {
    margin-left: auto;
    color: #10b981;
    font-weight: 500;
}

.price-item:last-of-type {
    border-bottom: none;
}

.order-btn-wrapper {
    padding: 1.5rem;
    background: #f8fafc;
}

.btn-order,
.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-order {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-contact {
    background: #f1f5f9;
    color: #1a202c;
    border: 2px solid #e2e8f0;
}

.btn-contact:hover {
    background: #ffffff;
    border-color: #06b6d4;
    color: #06b6d4;
}

/* ============================================================
   特性网格
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: 0.3s ease;
}

.feature-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
}

.feature-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* ============================================================
   FAQ样式
   ============================================================ */
.faq-card .faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card .faq-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-card .faq-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-card .faq-question {
    padding: 20px 24px;
    padding-right: 80px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    line-height: 1.5;
    background: white;
    display: block;
}

.faq-card .faq-question .toggle-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.faq-card .faq-question .toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: #64748b;
    transition: all 0.3s;
}

.faq-card .faq-question:hover .toggle-btn {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
}

.faq-card .faq-question:hover .toggle-btn svg {
    stroke: #06b6d4;
}

.faq-card .faq-item.active .faq-question .toggle-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
}

.faq-card .faq-item.active .faq-question .toggle-btn svg {
    stroke: white;
    transform: rotate(180deg);
}

.faq-card .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-card .faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-card .faq-answer p {
    padding: 0 28px 24px;
    margin: 0;
    color: #64748b;
    line-height: 1.9;
    font-size: 0.95rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

/* ============================================================
   动画效果
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specs-card,
.tags-card,
.features-card,
.faq-card,
.price-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.specs-card { animation-delay: 0.1s; }
.tags-card { animation-delay: 0.15s; }
.features-card { animation-delay: 0.2s; }
.faq-card { animation-delay: 0.25s; }
.price-card { animation-delay: 0.15s; }

/* ============================================================
   响应式 - 手机
   ============================================================ */
@media (max-width: 768px) {
    /* 内容区域 */
    .content-wrapper {
        border-radius: 20px 20px 0 0;
        padding: 20px 0 16px;
        margin-top: -15px;
        min-height: auto;
    }
    
    /* 主布局改为单列 */
    .detail-main {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    /* 重新排序：配置(1) -> 价格(2) -> 推荐(3) -> TAG(4) -> FAQ(5) */
    .detail-content {
        display: contents;
    }
    
    .detail-sidebar {
        display: contents;
    }
    
    .sidebar-sticky-wrapper {
        position: static;
        max-height: none;
        overflow: visible;
        display: contents;
    }
    
    .specs-card { order: 1; }
    .price-card { order: 2; }
    .sidebar-card.stock-recommendations { order: 3; margin-top: 0; }
    .tags-card { order: 4; }
    .faq-card { order: 5; }
    .features-card { order: 6; }
    
    /* 卡片样式 */
    .specs-card,
    .tags-card,
    .features-card,
    .faq-card {
        padding: 0.875rem;
        border-radius: 8px;
    }
    
    .card-title {
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .card-title i {
        font-size: 0.85rem;
    }
    
    .back-link {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* 规格列表 */
    .specs-list {
        gap: 0.625rem;
    }
    
    .spec-row {
        padding: 0.625rem;
        gap: 0.625rem;
        border-radius: 6px;
    }
    
    .spec-row:hover {
        transform: none;
    }
    
    .spec-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .spec-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
    
    .spec-label {
        font-size: 0.7rem;
    }
    
    .spec-value {
        font-size: 0.8rem;
        text-align: left;
        max-width: 100%;
    }
    
    .spec-region-separator {
        margin: 0 0.15rem;
    }
    
    /* 标签网格 */
    .tags-grid {
        gap: 0.625rem;
    }
    
    .tag-item {
        flex: 1 1 100%;
        min-width: auto;
        padding: 0.75rem;
        border-radius: 6px;
    }
    
    .tag-item:hover {
        transform: none;
    }
    
    .tag-header {
        padding-left: 0.25rem;
    }
    
    .tag-header i {
        font-size: 1rem;
    }
    
    .tag-name {
        font-size: 0.85rem;
    }
    
    .tag-desc {
        font-size: 0.7rem;
        margin-top: 0.375rem;
        padding-left: 0.25rem;
    }
    
    .tag-benefits {
        margin-top: 0.5rem;
        gap: 0.375rem;
    }
    
    .benefit-item {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }
    
    .benefit-item i {
        font-size: 0.6rem;
    }
    
    /* 特性网格 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .feature-content h3 {
        font-size: 0.875rem;
    }
    
    .feature-content p {
        font-size: 0.75rem;
    }
    
    /* 价格卡片 */
    .price-card {
        border-radius: 8px;
        border-width: 1.5px;
    }
    
    .price-card::before {
        height: 3px;
    }
    
    .price-header {
        padding: 0.875rem;
    }
    
    .price-header h3 {
        font-size: 0.95rem;
    }
    
    .stock-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
    
    .price-item {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .price-item.main-price {
        padding: 0.875rem;
        font-size: 1.1rem;
    }
    
    .price-item.main-price .amount {
        font-size: 1.35rem;
    }
    
    .price-item .period {
        font-size: 0.75rem;
    }
    
    .price-item .discount {
        font-size: 0.7rem;
    }
    
    .price-item.fee-item {
        font-size: 0.8rem;
    }
    
    .order-btn-wrapper {
        padding: 0.875rem;
    }
    
    .btn-order,
    .btn-contact {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 8px;
    }
    
    /* 推荐卡片 */
    .sidebar-card.stock-recommendations {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .sidebar-card-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .sidebar-card-title i {
        font-size: 0.875rem;
    }
    
    .sidebar-configs {
        gap: 0.375rem;
    }
    
    .sidebar-config-item {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
        border-radius: 5px;
        border-left-width: 2px;
    }
    
    .config-region {
        font-size: 0.65rem;
        padding: 0.1rem 0.3rem;
    }
    
    .config-spec {
        font-size: 0.75rem;
    }
    
    .config-price {
        font-size: 0.75rem;
    }
    
    /* FAQ 移动端 */
    .faq-card .faq-container {
        gap: 12px;
    }
    
    .faq-card .faq-item {
        border-radius: 16px;
    }
    
    .faq-card .faq-item:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
    
    .faq-card .faq-question {
        padding: 16px 18px;
        padding-right: 60px;
        font-size: 0.9rem;
    }
    
    .faq-card .faq-question .toggle-btn {
        width: 34px;
        height: 34px;
        right: 14px;
        border-radius: 10px;
    }
    
    .faq-card .faq-question .toggle-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .faq-card .faq-answer p {
        padding: 0 18px 18px;
        padding-top: 14px;
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    /* 禁用手机端hover动画 */
    .spec-row:hover,
    .tag-item:hover,
    .feature-item:hover,
    .btn-order:hover,
    .btn-contact:hover {
        transform: none;
    }
}

/* ============================================================
   打印样式
   ============================================================ */
@media print {
    .hero,
    .order-btn-wrapper,
    .stock-badge,
    .back-link,
    .tags-card,
    .features-card,
    .faq-card,
    .stock-recommendations,
    .sidebar-card,
    header,
    footer {
        display: none !important;
    }
    
    body {
        background: #fff !important;
        font-size: 12pt;
        color: #000;
    }
    
    .content-wrapper {
        margin: 0;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
        background: #fff !important;
    }
    
    .detail-main {
        display: block;
        padding: 0;
        max-width: 100%;
    }
    
    .detail-sidebar {
        margin-top: 30px;
    }
    
    .sidebar-sticky-wrapper {
        position: static;
        max-height: none;
        overflow: visible;
    }
    
    .specs-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #333;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 14pt;
        border-bottom: 2px solid #333;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    
    .specs-list {
        gap: 0;
    }
    
    .spec-row {
        padding: 8px 0;
        background: transparent !important;
        border: none;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
    }
    
    .spec-row:last-child {
        border-bottom: none;
    }
    
    .spec-row:hover {
        transform: none;
    }
    
    .spec-info {
        width: 100%;
    }
    
    .spec-label {
        font-weight: bold;
        color: #000;
    }
    
    .spec-value {
        color: #000;
    }
    
    .price-card {
        page-break-inside: avoid;
        border: 1px solid #333;
        box-shadow: none;
        margin-bottom: 0;
    }
    
    .price-card::before {
        display: none;
    }
    
    .price-header {
        background: #f5f5f5 !important;
        border-bottom: 2px solid #333;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .price-item {
        border-bottom: 1px solid #ddd;
    }
    
    .price-item.main-price {
        background: #f5f5f5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .price-display {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
}
