/* VPS详情页专业样式 */
.vps-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-header h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-id {
    background: #f8f9fa;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stock-status {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-in {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.stock-out {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.vps-price-highlight {
    text-align: center;
    margin-bottom: 50px;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 40px;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.price-tag::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;
}

.price-tag:hover::before {
    left: 100%;
}

.price-label {
    display: inline;
    font-size: 1rem;
    opacity: 0.9;
    margin-right: 8px;
}

.price-amount {
    display: inline;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 8px;
}

.price-term {
    display: inline;
    font-size: 1rem;
    opacity: 0.9;
    margin-left: 8px;
}

.vps-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.specs-section {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.specs-section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.spec-icon {
    font-size: 2rem;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
}

.spec-content {
    flex: 1;
}

.spec-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.price-sidebar {
    height: fit-content;
    position: sticky;
    top: 20px;
}

.price-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.price-card h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
}

.billing-options {
    margin-bottom: 30px;
}

.billing-options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.billing-options-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #dee2e6;
    position: relative;
    font-weight: 500;
}

.billing-options-list li.lowest-daily-price {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-left-color: #28a745;
    color: #155724;
}

.lowest-price-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.purchase-section {
    margin-bottom: 25px;
}

.purchase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

.purchase-btn.primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.purchase-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white !important;
    text-decoration: none;
}

.purchase-btn.disabled {
    background: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background: #f8f9fa;
    color: #6c757d !important;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.back-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057 !important;
    text-decoration: none;
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-text {
    font-size: 1rem;
}

.guarantee-info {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #6c757d;
}

.guarantee-icon {
    margin-right: 10px;
    font-size: 1.1rem;
}

.guarantee-text {
    font-weight: 500;
}

.locations-section {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-top: 40px;
}

.locations-section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.location-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #17a2b8;
    transition: all 0.3s ease;
}

.location-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.location-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .vps-detail {
        padding: 15px;
    }
    
    .product-header h1 {
        font-size: 2.2rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .vps-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .price-sidebar {
        position: static;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-tag {
        padding: 20px 30px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .product-header h1 {
        font-size: 1.8rem;
    }
    
    .specs-section,
    .price-card,
    .locations-section {
        padding: 25px;
    }
    
    .spec-item {
        padding: 15px;
    }
    
    .spec-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }
}